CVE-2013-4287 in Redhat Enterprise Linux and 2 more products
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 crafte...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Redhat | Enterprise Linux | 6.0 |
| Ruby-Lang | Ruby | 1.9 1.9.1 1.9.2 1.9.3 2.0 2.0.0 |
| Rubygems | Rubygems | 1.8.24 1.8.25 2.0.0 2.0.1 2.0.2 2.0.3+6 more2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 ≤ 1.8.23 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2013-4287 |
|---|---|
| BreachSpider ID | BS-2013-GLOBAL-095373-M |
| CVSS vector | AV:N/AC:M/Au:N/C:N/I:N/A:P |
| Published | 2013-10-17 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-310: Cryptographic Issues
Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Redhat systems (CVE-2013-4287). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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 vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.
Questions
What is CVE-2013-4287?
This vulnerability was disclosed in 2013. A medium severity vulnerability affects Redhat systems (CVE-2013-4287). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2013-4287?
CVE-2013-4287 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 3.5%.
Is CVE-2013-4287 actively exploited?
No confirmed active exploitation of CVE-2013-4287 as of 2026-09-25.
How do I remediate CVE-2013-4287?
Priority: MONITOR. Advisory: http://rhn.redhat.com/errata/RHSA-2013-1427.html
What systems are affected by CVE-2013-4287?
CVE-2013-4287 affects Redhat Enterprise Linux; Ruby-Lang Ruby; Rubygems Rubygems.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Redhat","product":"Enterprise Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.