Skip to navigation

CVE Database

CVE-2013-4287

Impact: Moderate
Public: 2013-09-09
Bugzilla: 1002364: CVE-2013-4287 rubygems: version regex algorithmic complexity vulnerability

Details

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2013-4287 from the MITRE CVE dictionary and NIST NVD.

CVSS v2 metrics

Base Score: 2.6
Base Metrics: AV:N/AC:H/Au:N/C:N/I:N/A:P
Access Vector: Network
Access Complexity: High
Authentication: None
Confidentiality Impact: None
Integrity Impact: None
Availability Impact: Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat security errata

Platform Errata Release Date
MRG Grid for RHEL 6 Server v.2 RHSA-2013:1852 December 17, 2013
RHOSE Client 2.0 (rubygems) RHSA-2014:0207 February 24, 2014
Red Hat Enterprise Linux OpenStack Platform 3.0 RHSA-2013:1523 November 14, 2013
Red Hat Enterprise Linux version 6 (rubygems) RHSA-2013:1441 October 17, 2013
Red Hat Software Collections for RHEL 6 Server (ruby193-ruby) RHSA-2013:1427 October 15, 2013

External References

http://blog.rubygems.org/2013/09/09/CVE-2013-4287.html

Acknowledgements

Red Hat would like to thank Rubygems upstream for reporting this vulnerability. Upstream acknowledges Damir Sharipov as the original reporter.

This page is generated automatically and has not been checked for errors or omissions.

For clarification or corrections please contact the Red Hat Security Response Team.