{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0806 exists.","fix":"No fix has been published for CVE-2004-0806 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-0806 is a high-severity vulnerability in n/a, published on 14 Sep 2004. 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-2004-0806 and fix it if it is affected.\n\nWhat it is: CVE-2004-0806 is a high-severity vulnerability in n/a, published on 14 Sep 2004. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0806 exists.\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-2004-0806/ (Markdown: https://insights.sbomify.com/CVE-2004-0806/index.md)","id":"CVE-2004-0806","markdown":"https://insights.sbomify.com/CVE-2004-0806/index.md","name":"CVE-2004-0806","record":{"aliases":["GHSA-gw49-f4qm-3gcc"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Linux cdrtools utility","requires_auth":"low_privilege","summary":"Local attackers can gain root privileges via the RSH environment variable in setuid-root cdrecord due to improper privilege dropping.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"cdrecord","vendor":"cdrtools"}],"cvss":{"score":7.2,"severity":"high","source":"nvd","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[],"description":"cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges before executing a program specified in the RSH environment variable, which allows local users to gain privileges.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2004-09-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-09-11","kind":"exploitdb","ref":"438","stars":null,"title":"CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation"},{"date":"2004-09-19","kind":"exploitdb","ref":"469","stars":null,"title":"CDRecord's ReadCD - Local Privilege Escalation"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2004-0806","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2004"},"n_packages":0,"n_references":12,"next":{"headline":"Denial of service in n/a","id":"CVE-2004-0807"},"packages":[],"prev":{"headline":"Memory corruption in n/a","id":"CVE-2004-0805"},"products":["n/a"],"published":"2004-09-14","related":[{"cvss_score":7.2,"headline":"Memory corruption in n/a","id":"CVE-2003-0289","kev_date_added":null,"published":"2003-05-14"},{"cvss_score":2.1,"headline":"Path traversal in n/a","id":"CVE-2005-0866","kev_date_added":null,"published":"2005-03-26"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Local attackers can gain root privileges via the RSH environment variable in setuid-root cdrecord due to improper privilege dropping.","url":"https://insights.sbomify.com/CVE-2004-0806/"}