HOMEVULNERABILITIESCVE-2013-4287
MEDIUM

CVE-2013-4287

CWE-310Published: October 17, 2013· Updated: Jun 16, 2026

4.3
CVSS v3.1

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.

NVD Source

Technical Analysis

CVE-2013-4287 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityNone
IntegrityNone
AvailabilityP
AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected Vendors & Products

Red Hat1 product(s)
enterprise linux
ruby-lang1 product(s)
ruby
rubygems1 product(s)
rubygems
Source: NVD CPE · 42 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (18)

Quick Facts

CVE IDCVE-2013-4287
CVSS Score4.3 / 10
SeverityMEDIUM
WeaknessCWE-310
CISA KEVNo
Affected3 vendor(s)
PublishedOct 17, 2013

Related CVEs (CWE-310)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2013-4287 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.