CVE-2013-4287

NameCVE-2013-4287
DescriptionAlgorithmic 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs722361

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
rubygems (PTS)bullseye3.2.5-2fixed
bookworm3.3.15-2fixed
sid, trixie3.4.20-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgems-rubysource(unstable)(unfixed)unimportant722361
rubygemssource(unstable)3.2.0~rc.1-1unimportant722361

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

Search for package or bug name: Reporting problems