Ruby up to 2.3.7/2.4.4/2.5.1/2.6.0-preview2 OpenSSL Library OpenSSL::X509::Name data processing

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.6$0-$5k0.00

Summaryinfo

A vulnerability was found in Ruby up to 2.3.7/2.4.4/2.5.1/2.6.0-preview2. It has been classified as critical. This vulnerability affects the function OpenSSL::X509::Name of the component OpenSSL Library. This manipulation causes data processing. This vulnerability appears as CVE-2018-16395. The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability was found in Ruby up to 2.3.7/2.4.4/2.5.1/2.6.0-preview2 (Programming Language Software). It has been declared as critical. Affected by this vulnerability is the function OpenSSL::X509::Name of the component OpenSSL Library. The manipulation with an unknown input leads to a data processing vulnerability. The CWE definition for the vulnerability is CWE-19. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. When two OpenSSL::X509::Name objects are compared using ==, depending on the ordering, non-equal objects may return true. When the first argument is one character longer than the second, or the second argument contains a character that is one less than a character in the same position of the first argument, the result of == will be true. This could be leveraged to create an illegitimate certificate that may be accepted as legitimate and then used in signing or encryption operations.

The bug was discovered 10/17/2018. The weakness was presented 11/16/2018 (Website). It is possible to read the advisory at lists.debian.org. This vulnerability is known as CVE-2018-16395 since 09/03/2018. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 3 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 118247 (FreeBSD : ruby -- multiple vulnerabilities (afc60484-0652-440e-b01a-5ef814747f06)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176522 (Debian Security Update for ruby2.3 (DSA 4332-1)).

Upgrading to version 2.3.8, 2.4.5 or 2.6.0-preview3 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (118247) and SecurityFocus (BID 103686†). See VDB-114428, VDB-114429, VDB-114430 and VDB-114431 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.7
VulDB Meta Temp Score: 7.6

VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Data processing
CWE: CWE-19
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 118247
Nessus Name: FreeBSD : ruby -- multiple vulnerabilities (afc60484-0652-440e-b01a-5ef814747f06)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ruby 2.3.8/2.4.5/2.6.0-preview3

Timelineinfo

03/28/2018 🔍
09/03/2018 +159 days 🔍
10/17/2018 +44 days 🔍
10/20/2018 +3 days 🔍
10/22/2018 +2 days 🔍
11/16/2018 +25 days 🔍
11/16/2018 +0 days 🔍
11/17/2018 +1 days 🔍
06/06/2023 +1662 days 🔍

Sourcesinfo

Advisory: RHSA-2018:3729
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2018-16395 (🔍)
GCVE (CVE): GCVE-0-2018-16395
GCVE (VulDB): GCVE-100-126943

OVAL: 🔍

SecurityFocus: 103686 - Ruby CVE-2018-6914 Directory Traversal Vulnerability
SecurityTracker: 1042105

See also: 🔍

Entryinfo

Created: 11/17/2018 11:04
Updated: 06/06/2023 17:24
Changes: 11/17/2018 11:04 (78), 04/13/2020 17:01 (3), 06/06/2023 17:24 (5)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!