FSF GNU glibc unsetenv Vulnerability

BID:648

Info

FSF GNU glibc unsetenv Vulnerability

Bugtraq ID: 648
Class: Unknown
CVE:
Remote: No
Local: Yes
Published: Sep 17 1999 12:00AM
Updated: Sep 17 1999 12:00AM
Credit: This vulnerability was found by Tymm Twillman <[email protected]>.
Vulnerable: GNU glibc 2.1.1
Not Vulnerable: GNU glibc 2.1.2

Discussion

FSF GNU glibc unsetenv Vulnerability

An error in the 'unsetenv' function in glibc 2.1.1 causes it to fail to unset the requested environment variable if the variable is present twice consecutively in the environment array. 'unsetenv' will destroy the first instance of it but not the second one.

This represents a vulnerability as unsetenv is sometimes used by programs that depend on it to unset possibly dangerous environment variables. One such program is ld.so. This means that a malicious user could define his own LD_* environment variables which although would not affect setuid programs would affect programs executed by the setuid application.

References

FSF GNU glibc unsetenv Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report