Skip to main content
← All vulnerabilities
CVE-2013-4363GHSA-9QVM-2VHF-Q649

Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems before 1.8.23.2, 1.8.2

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.23.2, 1.8.27, 2.0.10, 2.1.5
None on Exploit-DB, Metasploit or GitHub

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • rubygems-updateRubyGems

    fixed in 1.8.23.2

  • rubygems-updateRubyGems

    From 1.8.24 · fixed in 1.8.27

  • rubygems-updateRubyGems

    From 2.0.0 · fixed in 2.0.10

  • rubygems-updateRubyGems

    From 2.1.0 · fixed in 2.1.5

References 5

puppet.com

openwall.com

blog.rubygems.org