Improper Authentication Affecting ruby-libs package, versions <0:1.8.5-5.el5_1.1


Severity

Recommended
0.0
medium
0
10

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
2.88% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE5-RUBYLIBS-2446203
  • published10 Apr 2022
  • disclosed1 Oct 2007

Introduced: 1 Oct 2007

CVE-2007-5162  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade Oracle:5 ruby-libs to version 0:1.8.5-5.el5_1.1 or higher.
This issue was patched in ELSA-2007-0965.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-libs package and not the ruby-libs package as distributed by Oracle. See How to fix? for Oracle:5 relevant fixed versions and status.

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.

References

CVSS Scores

version 3.1