Security mailing lists by PureSourceCode

CVE-2007-5162

MEDIUM 4.3CVSS 2.0

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.

Published
1 Oct 2007
Last modified
16 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-287
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.5:*:*:*:*:*:*:*
= 1.8.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:*
= 1.8.6

References

History

  • 25 Nov 2026 20:14 UTC · NVD: first stored (published 1 Oct 2007)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.