Vulnerabilities · 2013 · Redhat
CVE-2013-4287
Redhat Enterprise Linux vulnerability
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.
Affected products
Enterprise Linux, Rubygems, Ruby. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Enterprise Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- blog.rubygems.org/2013/09/09/CVE-2013-4287.html · Patch
- rhn.redhat.com/errata/RHSA-2013-1427.html · Vendor Advisory
- www.openwall.com/lists/oss-security/2013/09/10/1 · Patch
- rhn.redhat.com/errata/RHSA-2013-1441.html
- rhn.redhat.com/errata/RHSA-2013-1523.html
- rhn.redhat.com/errata/RHSA-2013-1852.html
- rhn.redhat.com/errata/RHSA-2014-0207.html
- secunia.com/advisories/55381
- nvd.nist.gov/vuln/detail/CVE-2013-4287
- cve.org/CVERecord?id=CVE-2013-4287
More vulnerabilities in Redhat products
CVE-2025-53862CVE-2025-53861CVE-2025-47711CVE-2025-46400CVE-2025-46399CVE-2025-46398CVE-2025-46397CVE-2025-35036All 5,277
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.