CVE-2012-0883
envvars (aka envvars-std) in the Apache HTTP Server before 2.4.2 places a zero-length directory name in the LD_LIBRARY_PATH, which…
Check your servers for CVE-2012-0883
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2012-0883 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
envvars (aka envvars-std) in the Apache HTTP Server before 2.4.2 places a zero-length directory name in the LD_LIBRARY_PATH, which allows local users to gain privileges via a Trojan horse DSO in the current working directory during execution of apachectl.
Exploitation
EPSS 0.95%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 59.6% of all scored CVEs. Scores of 26 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2012-0883 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2012-0883RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2012-0883Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2012-0883
trivy image --scanners vuln IMAGE | grep CVE-2012-0883
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- SSRT100856 marc.info · vendor advisory
- 48849 secunia.com · third party advisory
- SSRT101209 h20564.www2.hp.com · vendor advisory
- APPLE-SA-2013-09-12-1 lists.apple.com · vendor advisory
- http://www.apache.org/dist/httpd/Announcement2.4.html apache.org
- http://www.apachelounge.com/Changelog-2.4.html apachelounge.com
- https://httpd.apache.org/security/vulnerabilities_24.html httpd.apache.org
- openSUSE-SU-2013:0248 lists.opensuse.org · vendor advisory
- openSUSE-SU-2013:0243 lists.opensuse.org · vendor advisory
- http://support.apple.com/kb/HT5880 support.apple.com
- http://www.xerox.com/download/security/security-bulletin/16287-4d6b7b0c81f7b/cert_XRX13-003_v1.0.pdf xerox.com
- http://svn.apache.org/viewvc?view=revision&revision=1296428 svn.apache.org
Other references
- 53046 securityfocus.com · vdb entry
- 1026932 securitytracker.com · vdb entry
- [dev] 20120417 [ANNOUNCEMENT] Apache HTTP Server 2.4.2 Released article.gmane.org · mailing list
- apache-ldlibrarypath-code-execution(74901) exchange.xforce.ibmcloud.com · vdb entry
- [httpd-cvs] 20190815 svn commit: r1048743 [4/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20190815 svn commit: r1048742 [4/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20190815 svn commit: r1048743 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20190815 svn commit: r1048742 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058586 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058586 [4/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20200401 svn commit: r1058587 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
8 more
- [httpd-cvs] 20210330 svn commit: r1073140 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073139 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1888194 [8/13] - /httpd/site/trunk/content/security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [8/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073146 [2/3] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ lists.apache.org · mailing list
- [httpd-cvs] 20210330 svn commit: r1073146 [3/3] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
- [httpd-cvs] 20210606 svn commit: r1075470 [3/4] - in /websites/staging/httpd/trunk/content: ./… lists.apache.org · mailing list
Source: the record CVE-2012-0883 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse