CVE-2013-4073

ruby: hostname check bypassing vulnerability in SSL client

Published Aug 18, 2013 CVSS 2.0 · 6.8 Medium EPSS 2.8% KEV · Not listed
Description
The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2738-1 ruby1.9.1 security update
Debian DSA Debian DSA DSA-2809-1 ruby1.8 security update
EUVD EUVD EUVD-2013-4004 The OpenSSL::SSL.verify_certificate_identity function in lib/openssl/ssl.rb in Ruby 1.8 before 1.8.7-p374, 1.9 before 1.9.3-p448, and 2.0 before 2.0.0-p247 does not properly handle a '\0' character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
Ubuntu USN Ubuntu USN USN-1902-1 Ruby vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 6, 2024, 4:30 PM
Reserved
Jun 9, 2013, 12:00 AM
Status
Modified
Published
Aug 18, 2013, 2:52 AM
Modified
Jun 16, 2026, 11:56 PM
Severity
Moderate
Public date
Jun 27, 2013, 12:00 AM