CVE-2013-4287: Medium severity red hat enterprise linux vulnerability

Published Oct 17, 2013
·
Updated

Algorithmic complexity vulnerability in Gem::Version::VERSIONPATTERN 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.

Other sources

Algorithmic complexity vulnerability in Gem::Version::VERSIONPATTERN 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.

Affected Software

63 affected componentsFixes available
rubygems/rubygems-update>=2.1.0.rc.1<2.1.0
2.1.0
rubygems/rubygems-update>=2.0.0<2.0.8
2.0.8
rubygems/rubygems-update>=1.8.24<1.8.26
1.8.26
rubygems/rubygems-update<1.8.23.1
1.8.23.1
redhat Enterprise Linux=6.0
Rubygems RubyGems<=1.8.23
Rubygems RubyGems=1.8.0
Rubygems RubyGems=1.8.1
Rubygems RubyGems=1.8.2
Rubygems RubyGems=1.8.3
Rubygems RubyGems=1.8.4
Rubygems RubyGems=1.8.5
Rubygems RubyGems=1.8.6
Rubygems RubyGems=1.8.7
Rubygems RubyGems=1.8.8
Rubygems RubyGems=1.8.9
Rubygems RubyGems=1.8.10
Rubygems RubyGems=1.8.11
Rubygems RubyGems=1.8.12
Rubygems RubyGems=1.8.13
Rubygems RubyGems=1.8.14
Rubygems RubyGems=1.8.15
Rubygems RubyGems=1.8.16
Rubygems RubyGems=1.8.17
Rubygems RubyGems=1.8.18
Rubygems RubyGems=1.8.19
Rubygems RubyGems=1.8.20
Rubygems RubyGems=1.8.21
Rubygems RubyGems=1.8.22
Rubygems RubyGems=1.8.24
Rubygems RubyGems=1.8.25
Rubygems RubyGems=2.0.0
Rubygems RubyGems=2.0.1
Rubygems RubyGems=2.0.2
Rubygems RubyGems=2.0.3
Rubygems RubyGems=2.0.4
Rubygems RubyGems=2.0.5
Rubygems RubyGems=2.0.6
Rubygems RubyGems=2.0.7
Rubygems RubyGems=2.1.0-rc1
Rubygems RubyGems=2.1.0-rc2
ruby-lang Ruby=1.9
ruby-lang Ruby=1.9.1
ruby-lang Ruby=1.9.2
ruby-lang Ruby=1.9.3
ruby-lang Ruby=1.9.3-p0
ruby-lang Ruby=1.9.3-p125
ruby-lang Ruby=1.9.3-p194
ruby-lang Ruby=1.9.3-p286
ruby-lang Ruby=1.9.3-p383
ruby-lang Ruby=1.9.3-p385
ruby-lang Ruby=1.9.3-p392
ruby-lang Ruby=1.9.3-p426
ruby-lang Ruby=1.9.3-p429
ruby-lang Ruby=2.0
ruby-lang Ruby=2.0.0
ruby-lang Ruby=2.0.0-p0
ruby-lang Ruby=2.0.0-p195
ruby-lang Ruby=2.0.0-p247
ruby-lang Ruby=2.0.0-preview1
ruby-lang Ruby=2.0.0-preview2
ruby-lang Ruby=2.0.0-rc1
ruby-lang Ruby=2.0.0-rc2

Event History

Oct 17, 2013
CVE Published
via MITRE·11:00 PM
Data Sourced
via MITRE·11:00 PM
Description
May 14, 2022
Advisory Published
01:08 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2013-4287?

CVE-2013-4287 is considered to have a medium severity as it allows remote attackers to cause a denial of service.

2

How do I fix CVE-2013-4287?

To fix CVE-2013-4287, update RubyGems to versions 1.8.26, 1.8.23.1, 2.0.8, or 2.1.0.

3

Which versions of RubyGems are affected by CVE-2013-4287?

Versions of RubyGems prior to 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 are affected.

4

What type of vulnerability is CVE-2013-4287?

CVE-2013-4287 is an algorithmic complexity vulnerability affecting the version handling in RubyGems.

5

Are Ruby versions also affected by CVE-2013-4287?

Yes, Ruby versions from 1.9.0 through 2.0.0p247 can be affected when using vulnerable RubyGems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203