{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2004-0231 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0231 is a low-severity vulnerability in Gentoo Linux, published on 5 May 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-0231 and fix it if it is affected.\n\nWhat it is: CVE-2004-0231 is a low-severity vulnerability in Gentoo Linux, published on 5 May 2004. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2004-0231 in the wild and no public exploit code.\n\nAffected product: Gentoo Linux. 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-2004-0231/ (Markdown: https://insights.sbomify.com/CVE-2004-0231/index.md)","id":"CVE-2004-0231","markdown":"https://insights.sbomify.com/CVE-2004-0231/index.md","name":"CVE-2004-0231","record":{"aliases":["DEBIAN-CVE-2004-0231","GHSA-3p2x-2cfv-p7xm"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"File manager","requires_auth":"none","summary":"Insecure temporary file creation in Midnight Commander allows local attackers to overwrite files or escalate privileges.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"linux","vendor":"gentoo"},{"product":"midnight_commander","vendor":"midnight_commander"},{"product":"propack","vendor":"sgi"},{"product":"slackware_linux","vendor":"slackware"}],"cvss":{"score":2.1,"severity":"low","source":"nvd","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[],"description":"Multiple vulnerabilities in Midnight Commander (mc) before 4.6.0, with unknown impact, related to \"Insecure temporary file and directory creations.\"","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":"Other in n/a","id":"CVE-2004-0231","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gentoo:linux","products":["gentoo:linux","sgi:propack","slackware:slackware_linux"],"type":"other","year":"2004"},"n_packages":0,"n_references":6,"next":{"headline":"Other in n/a","id":"CVE-2004-0232"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2004-0230"},"products":["n/a"],"published":"2004-05-05","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0914","kev_date_added":null,"published":"2004-12-15"},{"cvss_score":10,"headline":"Command injection in n/a","id":"CVE-2004-1037","kev_date_added":null,"published":"2004-11-19"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-1034","kev_date_added":null,"published":"2004-11-16"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0891","kev_date_added":null,"published":"2004-10-21"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2002-1337","kev_date_added":null,"published":"2004-09-01"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0649","kev_date_added":null,"published":"2004-07-13"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2004-0226","kev_date_added":null,"published":"2004-05-05"}],"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-08-08","vendors":["n/a"]},"summary":"Insecure temporary file creation in Midnight Commander allows local attackers to overwrite files or escalate privileges.","url":"https://insights.sbomify.com/CVE-2004-0231/"}