rubygems up to 2.0.0 lib/rubygems/version.rb ANCHORED_VERSION_PATTERN cryptographic issue
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in rubygems up to 2.0.0. It has been classified as problematic. This affects the function Gem::Version::ANCHORED_VERSION_PATTERN in the library lib/rubygems/version.rb. The manipulation leads to cryptographic issue.
This vulnerability is referenced as CVE-2013-4363. No exploit is available.
Details
A vulnerability, which was classified as problematic, has been found in rubygems up to 2.0.0 (Programming Language Software). This issue affects the function Gem::Version::ANCHORED_VERSION_PATTERN in the library lib/rubygems/version.rb. The manipulation with an unknown input leads to a cryptographic issue vulnerability. Using CWE to declare the problem leads to CWE-310. Impacted is availability. The summary by CVE is:
Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.2, 1.8.24 through 1.8.26, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, as used in Ruby 1.9.0 through 2.0.0p247, allows remote attackers to cause a denial of service (CPU consumption) via a crafted gem version that triggers a large amount of backtracking in a regular expression. NOTE: this issue is due to an incomplete fix for CVE-2013-4287.
The weakness was published 10/17/2013 (oss-sec). It is possible to read the advisory at openwall.com. The identification of this vulnerability is CVE-2013-4363 since 06/12/2013. 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 attack technique deployed by this issue is T1600 according to MITRE ATT&CK.
The vulnerability scanner Nessus provides a plugin with the ID 72746 (Amazon Linux AMI : ruby19 (ALAS-2014-290)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Amazon Linux Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 166303 (OpenSuSE Security Update for ruby19 (openSUSE-SU-2013:1611-1)).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (87375), Tenable (72746), SecurityFocus (BID 62442†) and Vulnerability Center (SBV-42003†). Similar entries are available at VDB-11266 and VDB-13039. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.3
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
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
Class: Cryptographic issueCWE: CWE-310
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: 72746
Nessus Name: Amazon Linux AMI : ruby19 (ALAS-2014-290)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 866960
OpenVAS Name: Fedora Update for rubygems FEDORA-2013-17649
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
Timeline
06/12/2013 🔍09/16/2013 🔍
10/17/2013 🔍
10/17/2013 🔍
10/20/2013 🔍
03/02/2014 🔍
03/24/2015 🔍
01/08/2022 🔍
Sources
Advisory: openwall.comStatus: Not defined
Confirmation: 🔍
CVE: CVE-2013-4363 (🔍)
GCVE (CVE): GCVE-0-2013-4363
GCVE (VulDB): GCVE-100-65315
X-Force: 87375
SecurityFocus: 62442
Vulnerability Center: 42003 - RubyGems Remote DoS Vulnerability via a Crafted Gem Version due to Regexp Algorithmic Complexity, High
See also: 🔍
Entry
Created: 03/24/2015 15:54Updated: 01/08/2022 18:01
Changes: 03/24/2015 15:54 (67), 05/14/2017 08:51 (2), 01/08/2022 18:01 (3)
Complete: 🔍
Cache ID: 216:3DF:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.