Ruby Net::HTTP and Net::HTTPS libraries fail to verify certificate CN
Multiple products
At a glance
The connect method in lib/net/http.rb in the (1) Net::HTTP and (2) Net::HTTPS libraries in Ruby 1.8.5 and 1.8.6 does not verify that the commonName (CN) field in a server certificate matches the domain name in an HTTPS request, which makes it easier for remote attackers to intercept SSL transmissions via a man-in-the-middle attack or spoofed web site.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 1.681%
- 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.5Show full version range for ruby1.8.6 |
| Vendor:oraclelinux | rubyEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-develEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-docsEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-irbEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-libsEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-modeEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-rdocEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-riEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
| Vendor:oraclelinux | ruby-tcltkEnvironments (1)
| Affected versions: < 0:1.8.5-5.el5_1.1 |
1–10 of 31 · Page 1 of 4
CVSS scores and metrics3
[email protected] · NVD (Primary)Primary4.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:Nnvd · Wazuh CTI (cna)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:Noraclelinux · 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:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories45
- CVE List / CNA
- NVD
- Wazuh CTI
- FIRST EPSS
- securityfocus.com
- securityfocus.com
- mandriva.com
- debian.org
- securityfocus.com
- novell.com
- debian.org
- oval.cisecurity.org
- debian.org
- securityreason.com
- svn.ruby-lang.org
- secunia.com
- redhat.com
- redhat.com
- secunia.com
- isecpartners.com
- svn.ruby-lang.org
- secunia.com
- secunia.com
- svn.ruby-lang.org
- secunia.com
- secunia.com
- secunia.com
- vupen.com
- ubuntu.com
- exchange.xforce.ibmcloud.com
- bugzilla.redhat.com
- redhat.com
- secunia.com
- redhat.com
- svn.ruby-lang.org
- secunia.com
- secunia.com
- secunia.com
- redhat.com
- access.redhat.com
- SUSE CVE-2007-5162
- SUSE-SR:2007:024
- access.redhat.com
- Mitre CVE-2007-5162
- linux.oracle.com
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