CVE-2013-4287
publishedrubygems: version regex algorithmic complexity vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Oracle Linux | 6 | rubygemsi686 | Advisory build | 0:1.3.7-4.el6_4 | ELSA-2013-1441 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubysrc | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Oracle Linux | 6 | rubygemsx86_64 | Advisory build | 0:1.3.7-4.el6_4 | ELSA-2013-1441 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubyx86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-debuginfox86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-develx86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-docx86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-irbnoarch | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-libsx86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-ruby-tcltkx86_64 | Advisory build | 1.9.3.448-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-bigdecimalx86_64 | Advisory build | 1.1.0-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-io-consolex86_64 | Advisory build | 0.3-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-jsonx86_64 | Advisory build | 1.5.5-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-minitestnoarch | Advisory build | 2.5.1-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-rakenoarch | Advisory build | 0.9.2.2-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygem-rdocx86_64 | Advisory build | 3.9.5-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygemsnoarch | Advisory build | 1.8.23-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | ruby193-rubygems-develnoarch | Advisory build | 1.8.23-40.el6 | RHSA-2013:1427 |
| Red Hat Enterprise Linux | RHEL-6 | rubygemsnoarch | Advisory build | 1.3.7-4.el6_4 | RHSA-2013:1441 |
| Red Hat Enterprise Linux | RHEL-6 | rubygemssrc | Advisory build | 1.3.7-4.el6_4 | RHSA-2013:1441 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
9- http://blog.rubygems.org/2013/09/09/CVE-2013-4287.html
- RHSA-2013:1427 http://rhn.redhat.com/errata/RHSA-2013-1427.html
- RHSA-2013:1441 http://rhn.redhat.com/errata/RHSA-2013-1441.html
- RHSA-2013:1523 http://rhn.redhat.com/errata/RHSA-2013-1523.html
- RHSA-2013:1852 http://rhn.redhat.com/errata/RHSA-2013-1852.html
- RHSA-2014:0207 http://rhn.redhat.com/errata/RHSA-2014-0207.html
- 55381 http://secunia.com/advisories/55381
- [oss-security] 20130909 CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older http://www.openwall.com/lists/oss-security/2013/09/10/1
- https://puppet.com/security/cve/cve-2013-4287
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b6c88938eb329f4969f510aa46486e58a270e533d81335b0aeef8d8dabe86c09
- Ingested
- 23 Sep 2026, 07:39:40 UTC
- Source record
- Official CVE record