Ruby OpenSSL::SSL.verify_certificate_identity does not properly handle null byte in domain name
Multiple products
At a glance
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name 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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 2.857%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:ruby-lang | ruby | Affected versions:1.8.6-26Show full version range for ruby1.8.71.9.32.0.0 |
| Vendor:oraclelinux | rubyEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-develEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-docsEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-irbEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-libsEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-modeEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-rdocEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-riEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
| Vendor:oraclelinux | ruby-tcltkEnvironments (1)
| Affected versions: < 0:1.8.5-31.el5_9 |
1–10 of 89 · Page 1 of 9
CVSS scores and metrics5
[email protected] · NVD (Primary)Primary6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Pnvd · Wazuh CTI (cna)6.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:P/A:Poraclelinux · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:Nredhat · Wazuh CTI (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:N/I:P/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories33
- cve.org
- NVD
- Wazuh CTI
- Red Hat VEX
- FIRST EPSS
- lists.apple.com
- puppet.com
- debian.org
- debian.org
- rhn.redhat.com
- lists.opensuse.org
- ruby-lang.org
- ubuntu.com
- forums.interworx.com
- rhn.redhat.com
- rhn.redhat.com
- support.apple.com
- bugzilla.redhat.com
- lists.opensuse.org
- access.redhat.com
- SUSE-SU-2013:1260-1
- SUSE-SU-2014:0337-1
- SUSE-SU-2014:0843-1
- SUSE-SU-2014:0844-1
- SUSE-SU-2013:1260-2
- SUSE-SU-2013:1260-3
- SUSE CVE-2013-4073
- linux.oracle.com
- access.redhat.com
- Mitre CVE-2013-4073
- openSUSE-SU-2013:1179-1
- openSUSE-SU-2013:1181-1
- openSUSE-SU-2013:1186-1
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences