{
    "dataType": "CVE_RECORD",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2025-52993",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2025-06-27T15:04:24.269Z",
        "dateReserved": "2025-06-23T00:00:00.000Z",
        "datePublished": "2025-06-27T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Nix",
                    "vendor": "NixOS",
                    "versions": [
                        {
                            "lessThan": "2.24.15",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "2.26.4",
                            "status": "affected",
                            "version": "2.25.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "2.28.4",
                            "status": "affected",
                            "version": "2.27.0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "2.29.1",
                            "status": "affected",
                            "version": "2.29.0",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "A race condition in the Nix, Lix, and Guix package managers enables changing the ownership of arbitrary files to the UID and GID of the build user (e.g., nixbld* or guixbuild*). This affects Nix before 2.24.15, 2.26.4, 2.28.4, and 2.29.1; Lix before 2.91.2, 2.92.2, and 2.93.1; and Guix before 1.4.0-38.0e79d5b."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-362",
                            "description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2025-06-27T13:36:03.468Z"
            },
            "references": [
                {
                    "url": "https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017"
                },
                {
                    "url": "https://lix.systems/blog/2025-06-24-lix-cves/"
                },
                {
                    "url": "https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/"
                },
                {
                    "url": "https://labs.snyk.io"
                },
                {
                    "url": "https://security.snyk.io/vuln/?search=CVE-2025-52993"
                },
                {
                    "url": "https://security-tracker.debian.org/tracker/CVE-2025-52993"
                }
            ],
            "x_generator": {
                "engine": "enrichogram 0.0.1"
            },
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "baseScore": 5.6,
                        "baseSeverity": "MEDIUM",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L"
                    }
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "2.24.15"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.25.0",
                                    "versionEndExcluding": "2.26.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.27.0",
                                    "versionEndExcluding": "2.28.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "2.29.0",
                                    "versionEndExcluding": "2.29.1"
                                }
                            ]
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-06-27T14:59:31.536727Z",
                                "id": "CVE-2025-52993",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-06-27T15:04:24.269Z"
                }
            }
        ]
    },
    "dataVersion": "5.1"
}