Skip to content
Fencer Intel
medium 4.3

CVE-2013-4363 json

RubyGems Regular Expression Denial of Service

published 13y ago modified 4mo ago also GHSA-9qvm-2vhf-q649 , EUVD-2022-3436

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.7%
EPSS 1.7% chance of exploitation in 30 days, percentile 77%
public exploits
0
none known

Summary

Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.2, 1.8.24 through 1.8.26, 2.0.x before 2.0.10, and 2.1.x before 2.1.5, 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. NOTE: this issue is due to an incomplete fix for CVE-2013-4287.

Patch / fix

  • rubygems rubygems-update 1.8.23.2, 1.8.27, 2.0.10, 2.1.5
  • rubygems Debian 14, Debian 13, Debian 12 3.2.0~rc.1-1

debian advisories DEBIAN-CVE-2013-4363

Is CVE-2013-4363 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2013-4363 updated cvss 2.6

rubygems: version regex algorithmic complexity vulnerability, incomplete CVE-2013-4287 fix

  • Red Hat CloudForms Management Engine 5 rubygems Red Hat OpenShift Enterprise 1 rubygems, ruby193-ruby Red Hat Enterprise Linux 6 rubygems Red Hat Enterprise Linux 7 ruby, ruby-irb, rubygems, ruby-libs, ruby-tcltk, rubygem-json, +6 more Red Hat Enterprise MRG 2 rubygems Red Hat OpenStack Platform 3 ruby193-rubygems
    +3 more products
    Red Hat Satellite 6 rubygems, ruby193-rubygems Red Hat Software Collections ruby193-ruby, ruby193-ruby-irb, ruby193-rubygems, ruby193-ruby-libs, ruby193-ruby-tcltk, ruby193-rubygem-json, +5 more Red Hat Subscription Asset Manager rubygems
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.69% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Affected packages

ecosystem package affected fixed in
rubygems rubygems-update
<1.8.23.2
>=1.8.24, <1.8.27
>=2.0.0, <2.0.10
>=2.1.0, <2.1.5
1.8.23.2
1.8.27
2.0.10
2.1.5

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.