{"id":"CVE-2013-4363","published":"2013-10-17T23:00:00Z","modified":"2024-08-06T16:38:01Z","title":"Algorithmic complexity vulnerability in Gem::Version::ANCHORED_VERSION_PATTERN in lib/rubygems/version.rb in RubyGems…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0169,"percentile":0.77636,"provenance":"source"},"cwes":[],"references":[{"url":"https://puppet.com/security/cve/cve-2013-4363","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2013/09/18/8","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://blog.rubygems.org/2013/09/24/CVE-2013-4363.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2013/09/14/3","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://www.openwall.com/lists/oss-security/2013/09/20/1","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":15.53}]},"affected":[{"ecosystem":"RubyGems","package":"rubygems-update","vulnerableRanges":["<1.8.23.2",">=1.8.24, <1.8.27",">=2.0.0, <2.0.10",">=2.1.0, <2.1.5"],"patched":["1.8.23.2","1.8.27","2.0.10","2.1.5"],"from":["GHSA-9qvm-2vhf-q649"],"provenance":"source"}],"summary":{"text":"The flaw is an algorithmic complexity vulnerability in the ANCHORED_VERSION_PATTERN regular expression in Gem::Version within lib/rubygems/version.rb in RubyGems, affecting RubyGems releases 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. An attacker with remote access can supply a crafted gem version string that causes heavy regex backtracking, consuming CPU and resulting in denial of service, with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:13Z"},"euvd":{"id":"EUVD-2022-3436","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rubygems-update-cve-2013-4287","parents":[{"from":"CVE-2013-4287","to":"CVE-2013-4363","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue is due to an incomplete fix for CVE-2013-4287.","from":"CVE.org","in":"CVE-2013-4363"},{"kind":"version-step","provenance":"source","package":"RubyGems:rubygems-update","fromFixed":"2.0.8","toFixed":"2.0.10","daysApart":0},{"kind":"version-step","provenance":"source","package":"RubyGems:rubygems-update","fromFixed":"1.8.23.1","toFixed":"1.8.23.2","daysApart":0},{"kind":"similar","provenance":"machine","score":0.76,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2012-2125","published":"2013-10-01","fixed":"1.8.23","kev":false},{"cve":"CVE-2012-2126","published":"2013-10-01","fixed":"1.8.23","kev":false},{"cve":"CVE-2013-4287","published":"2013-10-17","fixed":"2.1.0","kev":false},{"cve":"CVE-2013-4363","published":"2013-10-17","fixed":"2.1.5","kev":false},{"cve":"CVE-2015-3900","published":"2015-06-24","fixed":"2.4.7","kev":false,"link":{"from":"CVE-2013-4363","to":"CVE-2015-3900","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:rubygems-update","fromFixed":"2.0.10","toFixed":"2.0.16","daysApart":615}]}},{"cve":"CVE-2015-4020","published":"2015-08-25","fixed":"2.4.8","kev":false},{"cve":"CVE-2017-0899","published":"2017-08-31","fixed":"2.6.13","kev":false}],"package":"RubyGems:rubygems-update"}}