CVE-2009-0037
The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOPT_FOLLOWLOCATION is enabled, accepts arbitrary Location…
Check your servers for CVE-2009-0037
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2009-0037 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
The redirect implementation in curl and libcurl 5.11 through 7.19.3, when CURLOPT_FOLLOWLOCATION is enabled, accepts arbitrary Location values, which might allow remote HTTP servers to (1) trigger arbitrary requests to intranet servers, (2) read or overwrite arbitrary files via a redirect to a file: URL, or (3) execute arbitrary commands via a redirect to an scp: URL.
Exploitation
EPSS 9.05%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.0% of all scored CVEs. Scores of 30 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-2009-0037 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-0037RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-0037Alpine
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-2009-0037
trivy image --scanners vuln IMAGE | grep CVE-2009-0037
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 and one domain or read how to install the collector.
References
Advisories
- USN-726-1 ubuntu.com · vendor advisory
- 34259 secunia.com · third party advisory
- http://curl.haxx.se/lxr/source/CHANGES curl.haxx.se
- 35766 secunia.com · third party advisory
- 34255 secunia.com · third party advisory
- RHSA-2009:0341 redhat.com · vendor advisory
- DSA-1738 debian.org · vendor advisory
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- http://wiki.rpath.com/wiki/Advisories:rPSA-2009-0042 wiki.rpath.com
- SUSE-SR:2009:006 lists.opensuse.org · vendor advisory
- 34138 secunia.com · third party advisory
- http://curl.haxx.se/docs/adv_20090303.html curl.haxx.se
8 more
- 34202 secunia.com · third party advisory
- SSA:2009-069-01 slackware.com · vendor advisory
- http://support.apple.com/kb/HT4077 support.apple.com
- GLSA-200903-21 security.gentoo.org · vendor advisory
- 34251 secunia.com · third party advisory
- 34399 secunia.com · third party advisory
- 34237 secunia.com · third party advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0009.html vmware.com
Other references
- http://www.withdk.com/2009/03/03/curllibcurl-redirect-arbitrary-file-access/ withdk.com
- curl-location-security-bypass(49030) exchange.xforce.ibmcloud.com · vdb entry
- ADV-2009-1865 vupen.com · vdb entry
- 20090312 rPSA-2009-0042-1 curl securityfocus.com · mailing list
- ADV-2009-0581 vupen.com · vdb entry
- [Security-announce] 20090710 VMSA-2009-0009 ESX Service Console updates for udev, sudo, and curl lists.vmware.com · mailing list
- 33962 securityfocus.com · vdb entry
- http://www.withdk.com/archives/Libcurl_arbitrary_file_access.pdf withdk.com
- oval:org.mitre.oval:def:11054 oval.cisecurity.org · vdb entry, signature
- oval:org.mitre.oval:def:6074 oval.cisecurity.org · vdb entry, signature
- 1021783 securitytracker.com · vdb entry
- 20090711 VMSA-2009-0009 ESX Service Console updates for udev, sudo, and curl securityfocus.com · mailing list
Source: the record CVE-2009-0037 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