{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2005-1039 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2005-1039 is a low-severity vulnerability in n/a, published on 10 Apr 2005. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2005-1039 and fix it if it is affected.\n\nWhat it is: CVE-2005-1039 is a low-severity vulnerability in n/a, published on 10 Apr 2005. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2005-1039 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2005-1039/ (Markdown: https://insights.sbomify.com/CVE-2005-1039/index.md)","id":"CVE-2005-1039","markdown":"https://insights.sbomify.com/CVE-2005-1039/index.md","name":"CVE-2005-1039","record":{"aliases":["DEBIAN-CVE-2005-1039","GHSA-94gh-mvm8-54cf"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU Core Utilities","requires_auth":"low_privilege","summary":"Local attackers can exploit a race condition in coreutils commands to modify permissions of arbitrary files, potentially leading to privilege escalation.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"coreutils","vendor":"gnu"}],"cvss":{"score":3.7,"severity":"low","source":"nvd","vector":"AV:L/AC:H/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Race condition in Core Utilities (coreutils) 5.2.1, when (1) mkdir, (2) mknod, or (3) mkfifo is running with the -m switch, allows local users to modify permissions of other files.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Race condition in n/a","id":"CVE-2005-1039","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"race_condition","year":"2005"},"n_packages":0,"n_references":1,"next":{"headline":"Privilege escalation in n/a","id":"CVE-2005-1040"},"packages":[],"prev":{"headline":"Path traversal in n/a","id":"CVE-2005-1038"},"products":["n/a"],"published":"2005-04-10","related":[{"cvss_score":9.8,"headline":"Integer overflow in n/a","id":"CVE-2015-4042","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2015-4041","kev_date_added":null,"published":"2020-01-24"},{"cvss_score":7.1,"headline":"Race condition in n/a","id":"CVE-2017-18018","kev_date_added":null,"published":"2018-01-04"},{"cvss_score":5.5,"headline":"Coreutils: heap overflow in split --line-bytes with very long lines","id":"CVE-2024-0684","kev_date_added":null,"published":"2024-02-06"},{"cvss_score":5.1,"headline":"Race condition in n/a","id":"CVE-2015-1865","kev_date_added":null,"published":"2017-09-20"},{"cvss_score":4.6,"headline":"Out‑of‑bounds Read in GNU coreutils","id":"CVE-2026-56391","kev_date_added":null,"published":"2026-07-24"},{"cvss_score":4.6,"headline":"Privilege escalation in n/a","id":"CVE-2016-2781","kev_date_added":null,"published":"2017-02-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Local attackers can exploit a race condition in coreutils commands to modify permissions of arbitrary files, potentially leading to privilege escalation.","url":"https://insights.sbomify.com/CVE-2005-1039/"}