Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 RubyGems package.rb Signature signature verification

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.
8.4$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0. This impacts an unknown function of the file package.rb of the component RubyGems. The manipulation leads to signature verification (Signature). This vulnerability is documented as CVE-2018-1000076. The attack can be initiated remotely. There is not any exploit available. You should upgrade the affected component.

Detailsinfo

A vulnerability was found in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 (Programming Language Software) and classified as critical. This issue affects some unknown functionality of the file package.rb of the component RubyGems. The manipulation with an unknown input leads to a signature verification vulnerability (Signature). Using CWE to declare the problem leads to CWE-347. The product does not verify, or incorrectly verifies, the cryptographic signature for data. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Improper Verification of Cryptographic Signature vulnerability in package.rb that can result in a mis-signed gem could be installed, as the tarball would contain multiple gem signatures.. This vulnerability appears to have been fixed in 2.7.6.

The bug was discovered 02/15/2018. The weakness was released 03/13/2018 (Website). It is possible to read the advisory at blog.rubygems.org. The identification of this vulnerability is CVE-2018-1000076 since 02/21/2018. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. 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 26 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 108788 (Debian DLA-1337-1 : jruby security update), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 237072 (Red Hat Update for rh-ruby25-ruby (RHSA-2018:3731)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 3 weeks after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (108788) and SecurityFocus (BID 103686†). Entries connected to this vulnerability are available at VDB-114428, VDB-114429, VDB-114430 and VDB-114432. 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: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
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

Name: Signature
Class: Signature verification / Signature
CWE: CWE-347 / CWE-345
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: 108788
Nessus Name: Debian DLA-1337-1 : jruby security update
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 841300
OpenVAS Name: Debian LTS Advisory ([SECURITY] [DLA 1337-1] jruby security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Patch: github.com

Timelineinfo

02/15/2018 🔍
02/21/2018 +6 days 🔍
03/13/2018 +20 days 🔍
03/13/2018 +0 days 🔍
03/14/2018 +1 days 🔍
03/28/2018 +14 days 🔍
04/02/2018 +5 days 🔍
04/03/2018 +1 days 🔍
02/21/2023 +1785 days 🔍

Sourcesinfo

Advisory: RHSA-2018:3729
Status: Confirmed

CVE: CVE-2018-1000076 (🔍)
GCVE (CVE): GCVE-0-2018-1000076
GCVE (VulDB): GCVE-100-114431

OVAL: 🔍

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

See also: 🔍

Entryinfo

Created: 03/14/2018 07:45
Updated: 02/21/2023 14:23
Changes: 03/14/2018 07:45 (78), 01/13/2020 06:57 (5), 02/21/2023 14:23 (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.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!