CVE-2013-4287
mediumpriority · track · 18EPSS 0.033 · 89 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–medium · 3.7–4.3
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (47)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-9j7m-rjqx-48vhRubyGems Regular Expression Denial of Service vulnerability2022-05-14ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (27)
External citations — patches, advisories, analysis.
- http://blog.rubygems.org/2013/09/09/CVE-2013-4287.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2013-1427.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2013-1441.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2013-1523.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2013-1852.htmlcnnvd
- http://rhn.redhat.com/errata/RHSA-2014-0207.htmlcnnvd
- http://secunia.com/advisories/55381cnnvd
- http://www.openwall.com/lists/oss-security/2013/09/10/1cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan