Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 RubyGems URL input validation
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.2 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0. Affected is an unknown function of the component RubyGems. The manipulation results in input validation (URL). This vulnerability is reported as CVE-2018-1000077. The attack can be launched remotely. No exploit exists. The affected component should be upgraded.
Details
A vulnerability was found in Ruby up to 2.2.9/2.3.6/2.4.3/2.5.0 (Programming Language Software). It has been classified as critical. Affected is an unknown part of the component RubyGems. The manipulation with an unknown input leads to a input validation vulnerability (URL). CWE is classifying the issue as CWE-20. The product receives input or data, but it does
not validate or incorrectly validates that the input has the
properties that are required to process the data safely and
correctly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
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 Input Validation vulnerability in ruby gems specification homepage attribute that can result in a malicious gem could set an invalid homepage URL. This vulnerability appears to have been fixed in 2.7.6.
The bug was discovered 02/15/2018. The weakness was disclosed 03/13/2018 (Website). The advisory is shared for download at blog.rubygems.org. This vulnerability is traded as CVE-2018-1000077 since 02/21/2018. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are neither technical details nor an exploit publicly available.
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†). The entries VDB-114428, VDB-114429, VDB-114430 and VDB-114431 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
- 2.0
- 2.1
- 2.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 2.2.9
- 2.3
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.3.5
- 2.3.6
- 2.4
- 2.4.0
- 2.4.1
- 2.4.2
- 2.4.3
- 2.5.0
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 6.2
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: URLClass: Input validation / URL
CWE: CWE-20
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Patch: github.com
Timeline
02/15/2018 🔍02/21/2018 🔍
03/13/2018 🔍
03/13/2018 🔍
03/14/2018 🔍
03/28/2018 🔍
04/02/2018 🔍
04/03/2018 🔍
02/21/2023 🔍
Sources
Advisory: RHSA-2018:3729Status: Confirmed
CVE: CVE-2018-1000077 (🔍)
GCVE (CVE): GCVE-0-2018-1000077
GCVE (VulDB): GCVE-100-114432
OVAL: 🔍
SecurityFocus: 103686 - Ruby CVE-2018-6914 Directory Traversal Vulnerability
See also: 🔍
Entry
Created: 03/14/2018 07:45Updated: 02/21/2023 14:27
Changes: 03/14/2018 07:45 (76), 01/13/2020 07:09 (5), 02/21/2023 14:27 (5)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.