CVE-2009-2417
lib/ssluse.c in cURL and libcurl 7.4 through 7.19.5, when OpenSSL is used, does not properly handle a '\0' character in a domain name in…
Check your servers for CVE-2009-2417
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-2417 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
lib/ssluse.c in cURL and libcurl 7.4 through 7.19.5, when OpenSSL is used, does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Exploitation
EPSS 3.46%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.8% 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-2417 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2009-2417RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2009-2417Alpine
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-2417
trivy image --scanners vuln IMAGE | grep CVE-2009-2417
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
- http://curl.haxx.se/CVE-2009-2417/curl-7.15.1-CVE-2009-2417.patch curl.haxx.se
- http://curl.haxx.se/CVE-2009-2417/curl-7.19.0-CVE-2009-2417.patch curl.haxx.se
- http://curl.haxx.se/CVE-2009-2417/curl-7.19.5-CVE-2009-2417.patch curl.haxx.se
- http://curl.haxx.se/CVE-2009-2417/curl-7.12.1-CVE-2009-2417.patch curl.haxx.se
- 37471 secunia.com · third party advisory
- USN-1158-1 ubuntu.com · vendor advisory
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html vmware.com
- 36238 secunia.com · third party advisory
- APPLE-SA-2010-03-29-1 lists.apple.com · vendor advisory
- http://curl.haxx.se/CVE-2009-2417/curl-7.16.4-CVE-2009-2417.patch curl.haxx.se
- http://wiki.rpath.com/Advisories:rPSA-2009-0124 wiki.rpath.com
- http://curl.haxx.se/CVE-2009-2417/curl-7.10.6-CVE-2009-2417.patch curl.haxx.se
8 more
- http://curl.haxx.se/CVE-2009-2417/curl-7.18.1-CVE-2009-2417.patch curl.haxx.se
- http://support.apple.com/kb/HT4077 support.apple.com
- http://shibboleth.internet2.edu/secadv/secadv_20090817.txt shibboleth.internet2.edu
- 36475 secunia.com · third party advisory
- http://curl.haxx.se/docs/adv_20090812.txt curl.haxx.se
- 45047 secunia.com · third party advisory
- http://curl.haxx.se/CVE-2009-2417/curl-7.15.5-CVE-2009-2417.patch curl.haxx.se
- http://curl.haxx.se/CVE-2009-2417/curl-7.11.0-CVE-2009-2417.patch curl.haxx.se
Other references
- 20090824 rPSA-2009-0124-1 curl securityfocus.com · mailing list
- ADV-2009-2263 vupen.com · vdb entry
- curl-certificate-security-bypass(52405) exchange.xforce.ibmcloud.com · vdb entry
- oval:org.mitre.oval:def:8542 oval.cisecurity.org · vdb entry, signature
- 20091120 VMSA-2009-0016 VMware vCenter and ESX update release and vMA patch release address multiple security issue… securityfocus.com · mailing list
- oval:org.mitre.oval:def:10114 oval.cisecurity.org · vdb entry, signature
- 36032 securityfocus.com · vdb entry
- ADV-2009-3316 vupen.com · vdb entry
Source: the record CVE-2009-2417 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