CVE-2025-52993 (GCVE-0-2025-52993)
Vulnerability from cvelistv5
Published
2025-06-27 00:00
Modified
2025-06-27 15:04
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
Summary
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.
References
Impacted products
{ "containers": { "adp": [ { "metrics": [ { "other": { "content": { "id": "CVE-2025-52993", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "role": "CISA Coordinator", "timestamp": "2025-06-27T14:59:31.536727Z", "version": "2.0.3" }, "type": "ssvc" } } ], "providerMetadata": { "dateUpdated": "2025-06-27T15:04:24.269Z", "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP" }, "title": "CISA ADP Vulnrichment" } ], "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" } ] } ], "cpeApplicability": [ { "nodes": [ { "cpeMatch": [ { "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.24.15", "vulnerable": true }, { "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.26.4", "versionStartIncluding": "2.25.0", "vulnerable": true }, { "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.28.4", "versionStartIncluding": "2.27.0", "vulnerable": true }, { "criteria": "cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.29.1", "versionStartIncluding": "2.29.0", "vulnerable": true } ], "negate": false, "operator": "OR" } ] } ], "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." } ], "metrics": [ { "cvssV3_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", "version": "3.1" } } ], "problemTypes": [ { "descriptions": [ { "cweId": "CWE-362", "description": "CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)", "lang": "en", "type": "CWE" } ] } ], "providerMetadata": { "dateUpdated": "2025-06-27T13:36:03.468Z", "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "shortName": "mitre" }, "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" } } }, "cveMetadata": { "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "assignerShortName": "mitre", "cveId": "CVE-2025-52993", "datePublished": "2025-06-27T00:00:00.000Z", "dateReserved": "2025-06-23T00:00:00.000Z", "dateUpdated": "2025-06-27T15:04:24.269Z", "state": "PUBLISHED" }, "dataType": "CVE_RECORD", "dataVersion": "5.1", "vulnerability-lookup:meta": { "nvd": "{\"cve\":{\"id\":\"CVE-2025-52993\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2025-06-27T14:15:42.283\",\"lastModified\":\"2025-06-30T18:38:48.477\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"Una condici\u00f3n de ejecuci\u00f3n en los gestores de paquetes Nix, Lix y Guix permite cambiar la propiedad de archivos arbitrarios al UID y GID del usuario de compilaci\u00f3n (p. ej., nixbld* o guixbuild*). Esto afecta a Nix anteriores a 2.24.15, 2.26.4, 2.28.4 y 2.29.1; Lix anteriores a 2.91.2, 2.92.2 y 2.93.1; y Guix anteriores a 1.4.0-38.0e79d5b.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"cve@mitre.org\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L\",\"baseScore\":5.6,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"LOW\"},\"exploitabilityScore\":1.4,\"impactScore\":3.7}]},\"weaknesses\":[{\"source\":\"cve@mitre.org\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-362\"}]}],\"references\":[{\"url\":\"https://discourse.nixos.org/t/security-advisory-privilege-escalations-in-nix-lix-and-guix/66017\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://guix.gnu.org/en/blog/2025/privilege-escalation-vulnerabilities-2025/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://labs.snyk.io\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://lix.systems/blog/2025-06-24-lix-cves/\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://security-tracker.debian.org/tracker/CVE-2025-52993\",\"source\":\"cve@mitre.org\"},{\"url\":\"https://security.snyk.io/vuln/?search=CVE-2025-52993\",\"source\":\"cve@mitre.org\"}]}}", "vulnrichment": { "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-52993\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-06-27T14:59:31.536727Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-06-27T15:03:36.171Z\"}}], \"cna\": {\"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\"}}], \"affected\": [{\"vendor\": \"NixOS\", \"product\": \"Nix\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"2.24.15\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"2.25.0\", \"lessThan\": \"2.26.4\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"2.27.0\", \"lessThan\": \"2.28.4\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"2.29.0\", \"lessThan\": \"2.29.1\", \"versionType\": \"semver\"}], \"defaultStatus\": \"unaffected\"}], \"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\"}, \"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\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-362\", \"description\": \"CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization (\u0027Race Condition\u0027)\"}]}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"2.24.15\"}, {\"criteria\": \"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"2.26.4\", \"versionStartIncluding\": \"2.25.0\"}, {\"criteria\": \"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"2.28.4\", \"versionStartIncluding\": \"2.27.0\"}, {\"criteria\": \"cpe:2.3:a:nixos:nix:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"2.29.1\", \"versionStartIncluding\": \"2.29.0\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"shortName\": \"mitre\", \"dateUpdated\": \"2025-06-27T13:36:03.468Z\"}}}", "cveMetadata": "{\"cveId\": \"CVE-2025-52993\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-06-27T15:04:24.269Z\", \"dateReserved\": \"2025-06-23T00:00:00.000Z\", \"assignerOrgId\": \"8254265b-2729-46b6-b9e3-3dfca2d5bfca\", \"datePublished\": \"2025-06-27T00:00:00.000Z\", \"assignerShortName\": \"mitre\"}", "dataType": "CVE_RECORD", "dataVersion": "5.1" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…