Vulnerability in Rubygems
CVE-2013-4287
Algorithmic complexity vulnerability in Gem::Version::VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.1, 1.8.24 through 1.8.25, 2.0.x before 2.0.8, and 2.1.x before 2.1.0, 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.
Vulnerability class: POODLE (CVE-2014-3566)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.033, 88.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubygems — versions 1.8.0, 1.8.1, 1.8.2
- Ruby-Lang Ruby — versions 1.9, 1.9.1, 1.9.2
- Red Hat Enterprise Linux — versions 6.0
Weakness classification (CWE)
References
- [oss-security] 20130909 CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older (mailing-list, Patch)
- secunia.com/advisories/55381 (third-party-advisory)
- RHSA-2013:1523 (vendor-advisory)
- blog.rubygems.org/2013/09/09/CVE-2013-4287.html (Patch, Vendor Advisory)
- puppet.com/security/cve/cve-2013-4287
- RHSA-2013:1427 (vendor-advisory, Vendor Advisory)
- RHSA-2013:1852 (vendor-advisory)
- RHSA-2013:1441 (vendor-advisory)
- RHSA-2014:0207 (vendor-advisory)