Back
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…
Medium4.3EPSS 3.3%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
- EPSS (exploitation in 30 days)
- 3.3% · top 11% of all CVEs (5 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.3.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsrubygems-updateGHSA-9j7m-rjqx-48vh (opens in a new tab)
References (9)
- [oss-security] 20130909 CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- 55381 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- RHSA-2013:1523 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://blog.rubygems.org/2013/09/09/CVE-2013-4287.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://puppet.com/security/cve/cve-2013-4287 (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2013:1427 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2013:1852 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2013:1441 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2014:0207 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9j7m-rjqx-48vh (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2013-4287)Record last updated .