Net: HTTP insufficient verification of SSL certificate
Published Oct 1, 2007
4.3
MEDIUMCVSS 2.0
EPSS 1.68%
Description
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 4
ruby-0:1.8.1-7.EL4.8.1
Fixed · RHSA-2007:0961
Red Hat Enterprise Linux 5
ruby-0:1.8.5-5.el5_1.1
Fixed · RHSA-2007:0965
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 4 | ruby-0:1.8.1-7.EL4.8.1 | Fixed | RHSA-2007:0961 |
| Red Hat Enterprise Linux 5 | ruby-0:1.8.5-5.el5_1.1 | Fixed | RHSA-2007:0965 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (18 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.68% (0.01681) | 76.10th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.70% (0.01695) | 74.08th | v5 (v2026.06.15) |
| Jun 6, 2026 | 2.98% (0.02982) | 86.81th | v4 (v2025.03.14) |
| Mar 30, 2025 | 1.53% (0.01528) | 79.57th | v4 (v2025.03.14) |
| Mar 29, 2025 | 4.75% (0.04755) | 82.00th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.53% (0.01528) | 80.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 2.36% (0.02360) | 90.20th | v3 (v2023.03.01) |
| Sep 11, 2024 | 2.07% (0.02074) | 89.33th | v3 (v2023.03.01) |
| Jun 27, 2024 | 0.44% (0.00443) | 75.08th | v3 (v2023.03.01) |
| May 20, 2024 | 0.34% (0.00345) | 71.55th | v3 (v2023.03.01) |
| Mar 4, 2024 | 0.33% (0.00328) | 70.29th | v3 (v2023.03.01) |
| Feb 14, 2024 | 0.38% (0.00379) | 72.18th | v3 (v2023.03.01) |
| Jan 25, 2024 | 0.38% (0.00379) | 70.17th | v3 (v2023.03.01) |
| Oct 6, 2023 | 0.36% (0.00361) | 69.03th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.33% (0.00333) | 66.55th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.36% (0.04358) | 88.02th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.36% (0.04358) | 86.83th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.36% (0.04358) | 70.59th | v2 (v2022.01.01) |
References (39)
- http://secunia.com/advisories/26985 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27044 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27432 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27576 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27673 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27756 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27764 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27769 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/27818 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/28645 third-party-advisoryx_refsource_SECUNIA
- http://secunia.com/advisories/29556 third-party-advisoryx_refsource_SECUNIA
- http://securityreason.com/securityalert/3180 third-party-advisoryx_refsource_SREASON
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13499 x_refsource_CONFIRMPatch
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13500 x_refsource_CONFIRMPatch
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13502 x_refsource_CONFIRMPatch
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=13504 x_refsource_CONFIRMPatch
- http://www.debian.org/security/2007/dsa-1410 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2007/dsa-1411 vendor-advisoryx_refsource_DEBIAN
- http://www.debian.org/security/2007/dsa-1412 vendor-advisoryx_refsource_DEBIAN
- http://www.isecpartners.com/advisories/2007-006-rubyssl.txt x_refsource_MISC
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:029 vendor-advisoryx_refsource_MANDRIVA
- http://www.novell.com/linux/security/advisories/2007_24_sr.html vendor-advisoryx_refsource_SUSE
- http://www.redhat.com/support/errata/RHSA-2007-0961.html vendor-advisoryx_refsource_REDHAT
- http://www.redhat.com/support/errata/RHSA-2007-0965.html vendor-advisoryx_refsource_REDHAT
- http://www.securityfocus.com/archive/1/480987/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/archive/1/483577/100/0/threaded mailing-listx_refsource_BUGTRAQ
- http://www.securityfocus.com/bid/25847 vdb-entryx_refsource_BIDPatch
- http://www.ubuntu.com/usn/usn-596-1 vendor-advisoryx_refsource_UBUNTU
- http://www.vupen.com/english/advisories/2007/3340 vdb-entryx_refsource_VUPEN
- https://access.redhat.com/security/cve/CVE-2007-5162 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=313691 Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=313791 x_refsource_MISC
- https://exchange.xforce.ibmcloud.com/vulnerabilities/36861 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2007-5162
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738 vdb-entrysignaturex_refsource_OVAL
- https://www.cve.org/CVERecord?id=CVE-2007-5162
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00087.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00097.html vendor-advisoryx_refsource_FEDORA
- https://www.redhat.com/archives/fedora-package-announce/2007-October/msg00391.html vendor-advisoryx_refsource_FEDORA
Change history (0)
No recorded changes yet.