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.
Published: 2013-08-18
Score: 6.8 Medium
EPSS: 2.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

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.

Subscriptions

Redhat Enterprise Linux Openshift Openstack
Ruby-lang Ruby
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-06T16:30:49.912Z

Reserved: 2013-06-09T00:00:00.000Z

Link: CVE-2013-4073

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2013-08-18T02:52:22.917

Modified: 2026-04-29T01:13:23.040

Link: CVE-2013-4073

cve-icon Redhat

Severity : Moderate

Publid Date: 2013-06-27T00:00:00Z

Links: CVE-2013-4073 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses