4.3med
CVE-2007-5162
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 co…
Published 19 y ago · modified 4 mo ago · JSON
CVSS
4.3
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.7%
percentile 77%
Public exploits
0
none known
Summary
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.
Exploit prediction (EPSS)
1.68% probability of exploitation in the next 30 days, higher than 77% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
- Weakness
- CWE-287 Improper Authentication
References
- svn.ruby-lang.org /cgi-bin/viewvc.cgi?view=rev&revision=13499 · x_refsource_CONFIRM, x_transferred
- securityfocus.com /bid/25847 · vdb-entry, x_refsource_BID, x_transferred
- securityfocus.com /archive/1/483577/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- secunia.com /advisories/27576 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/26985 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- vupen.com /english/advisories/2007/3340 · vdb-entry, x_refsource_VUPEN, x_transferred
- ubuntu.com /usn/usn-596-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
- exchange.xforce.ibmcloud.com /vulnerabilities/36861 · vdb-entry, x_refsource_XF, x_transferred
- bugzilla.redhat.com /show_bug.cgi?id=313791 · x_refsource_MISC, x_transferred
- svn.ruby-lang.org /cgi-bin/viewvc.cgi?view=rev&revision=13500 · x_refsource_CONFIRM, x_transferred
- redhat.com /archives/fedora-package-announce/2007-October/msg00391.html · vendor-advisory, x_refsource_FEDORA, x_transferred
- secunia.com /advisories/27044 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- redhat.com /support/errata/RHSA-2007-0961.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- redhat.com /support/errata/RHSA-2007-0965.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- secunia.com /advisories/27756 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- debian.org /security/2007/dsa-1412 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- isecpartners.com /advisories/2007-006-rubyssl.txt · x_refsource_MISC, x_transferred
- svn.ruby-lang.org /cgi-bin/viewvc.cgi?view=rev&revision=13502 · x_refsource_CONFIRM, x_transferred
- secunia.com /advisories/27673 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- oval.cisecurity.org /repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10738 · vdb-entry, signature, x_refsource_OVAL, x_transferred
- debian.org /security/2007/dsa-1410 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- secunia.com /advisories/27769 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- redhat.com /archives/fedora-package-announce/2007-October/msg00087.html · vendor-advisory, x_refsource_FEDORA, x_transferred
- novell.com /linux/security/advisories/2007_24_sr.html · vendor-advisory, x_refsource_SUSE, x_transferred
- mandriva.com /security/advisories?name=MDVSA-2008:029 · vendor-advisory, x_refsource_MANDRIVA, x_transferred
- secunia.com /advisories/29556 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/27818 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- secunia.com /advisories/27432 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- securityfocus.com /archive/1/480987/100/0/threaded · mailing-list, x_refsource_BUGTRAQ, x_transferred
- securityreason.com /securityalert/3180 · third-party-advisory, x_refsource_SREASON, x_transferred
- redhat.com /archives/fedora-package-announce/2007-October/msg00097.html · vendor-advisory, x_refsource_FEDORA, x_transferred
- secunia.com /advisories/28645 · third-party-advisory, x_refsource_SECUNIA, x_transferred
- svn.ruby-lang.org /cgi-bin/viewvc.cgi?view=rev&revision=13504 · x_refsource_CONFIRM, x_transferred
- debian.org /security/2007/dsa-1411 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- secunia.com /advisories/27764 · third-party-advisory, x_refsource_SECUNIA, x_transferred
Sources
- CVE List: CVE-2007-5162
- NVD: CVE-2007-5162
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.