BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2013-4363 in Ruby-Lang Ruby and 1 more product

Medium 4.3

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) vi...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 2.04.3
EPSS1.7%
EPSS percentile78th
FixSee advisory

Remotely exploitable over the network, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Ruby 1.9 1.9.1 1.9.2 1.9.3 2.0 2.0.0
Rubygems Rubygems 1.8.24 1.8.25 1.8.26 2.0.0 2.0.1 2.0.2
+13 more2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 ≤ 1.8.23

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2013-4363
BreachSpider IDBS-2013-GLOBAL-095426-M
CVSS vectorAV:N/AC:M/Au:N/C:N/I:N/A:P
Published2013-10-17
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-310: Cryptographic Issues

Broad class covering misuse of cryptography: weak algorithms, insufficient key length, improper certificate validation.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2013. A medium severity vulnerability affects Ruby-Lang systems (CVE-2013-4363). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: 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. CVSS vector: AV:N/AC:M/Au:N/C:N/I:N/A:P.

Questions

What is CVE-2013-4363?

This vulnerability was disclosed in 2013. A medium severity vulnerability affects Ruby-Lang systems (CVE-2013-4363). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2013-4363?

CVE-2013-4363 has CVSS 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P. EPSS: 1.7%.

Is CVE-2013-4363 actively exploited?

No confirmed active exploitation of CVE-2013-4363 as of 2026-09-25.

How do I remediate CVE-2013-4363?

Priority: MONITOR. Advisory: http://blog.rubygems.org/2013/09/24/CVE-2013-4363.html

What systems are affected by CVE-2013-4363?

CVE-2013-4363 affects Ruby-Lang Ruby; Rubygems Rubygems.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.