Name | CVE-2013-4287 |
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 | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 722361 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
rubygems (PTS) | bullseye | 3.2.5-2 | fixed |
| bookworm | 3.3.15-2 | fixed |
| sid, trixie | 3.4.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
libgems-ruby | source | (unstable) | (unfixed) | unimportant | | 722361 |
rubygems | source | (unstable) | 3.2.0~rc.1-1 | unimportant | | 722361 |
Notes
Non-issue, you trust the site providing the gem with installing arbitrary code, allowing
it a potential elevated CPU consumption doesn't add any extra harm