Home / Rubygems / Rubygems / CVE-2013-4363
CVE-2013-4363: is it exploited, and which versions of Rubygems are affected and fixed?
CVE-2013-4363 is a vulnerability in Rubygems. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: rubygems-update before 1.8.23.2, rubygems-update from 1.8.24 before 1.8.27, rubygems-update from 2.0.0 before 2.0.10 and 1 more (GitHub advisory GHSA-9qvm-2vhf-q649). Fixed in 1.8.23.2, 1.8.27, 2.0.10 and 2.1.5 (GitHub advisory GHSA-9qvm-2vhf-q649). Severity: Medium (4.3, CVSS 2.0, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:47 UTC.
What is CVE-2013-4363?
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.
From the CVE record by redhat, last updated August 6, 2024, 16:38 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | rubygems-update | < 1.8.23.2 | 1.8.23.2 | GHSA-9qvm-2vhf-q649 |
| RubyGems | rubygems-update | >= 1.8.24, < 1.8.27 | 1.8.27 | GHSA-9qvm-2vhf-q649 |
| RubyGems | rubygems-update | >= 2.0.0, < 2.0.10 | 2.0.10 | GHSA-9qvm-2vhf-q649 |
| RubyGems | rubygems-update | >= 2.1.0, < 2.1.5 | 2.1.5 | GHSA-9qvm-2vhf-q649 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 8, 2023. Summary: RubyGems Regular Expression Denial of Service.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| rubygems | rubygems | through 1.8.23 | application |
| rubygems | rubygems | 1.8.0 | application |
| rubygems | rubygems | 1.8.1 | application |
| rubygems | rubygems | 1.8.2 | application |
| rubygems | rubygems | 1.8.3 | application |
| rubygems | rubygems | 1.8.4 | application |
| rubygems | rubygems | 1.8.5 | application |
| rubygems | rubygems | 1.8.6 | application |
| rubygems | rubygems | 1.8.7 | application |
| rubygems | rubygems | 1.8.8 | application |
| rubygems | rubygems | 1.8.9 | application |
| rubygems | rubygems | 1.8.10 | application |
| rubygems | rubygems | 1.8.11 | application |
| rubygems | rubygems | 1.8.12 | application |
| rubygems | rubygems | 1.8.13 | application |
| rubygems | rubygems | 1.8.14 | application |
| rubygems | rubygems | 1.8.15 | application |
| rubygems | rubygems | 1.8.16 | application |
| rubygems | rubygems | 1.8.17 | application |
| rubygems | rubygems | 1.8.18 | application |
| rubygems | rubygems | 1.8.19 | application |
| rubygems | rubygems | 1.8.20 | application |
| rubygems | rubygems | 1.8.21 | application |
| rubygems | rubygems | 1.8.22 | application |
| rubygems | rubygems | 1.8.24 | application |
NVD analysis (status Modified), last modified June 16, 2026, 23:57 UTC.
How severe is CVE-2013-4363?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:N/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2013-4363 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.69% probability of exploitation activity in the next 30 days, percentile 77.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://puppet.com/security/cve/cve-2013-4363 x_refsource_CONFIRM
- [oss-security] 20130918 Re: CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older mailing-list, x_refsource_MLIST
- http://blog.rubygems.org/2013/09/24/CVE-2013-4363.html x_refsource_CONFIRM
- [oss-security] 20130915 Re: CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older mailing-list, x_refsource_MLIST
- [oss-security] 20130920 Re: CVE-2013-4287 Algorithmic complexity vulnerability in RubyGems 2.0.7 and older mailing-list, x_refsource_MLIST
When was it published, and where is the official record?
- Reserved
- June 12, 2013
- Published
- October 17, 2013, 23:00 UTC
- CVE record updated
- August 6, 2024, 16:38 UTC by redhat
- NVD
- Modified, last modified June 16, 2026, 23:57 UTC
- Last checked
- CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:47 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Rubygems?
- Dec 8, 2021CVE-2021-43809 rubygems: argument injection
- Jun 17, 2019CVE-2019-8321 Rubygems: argument injection
- Jun 17, 2019CVE-2019-8322 Rubygems: injection
- Jun 17, 2019CVE-2019-8323 Rubygems: injection
- Jun 17, 2019CVE-2019-8325 Rubygems: injection
- Jun 17, 2019CVE-2019-8324 Rubygems: code injection (remote code execution)
- Jun 6, 2019CVE-2019-8320 Rubygems: path traversal (reading or writing files outside the intended folder)
- Mar 13, 2018CVE-2018-1000079 Rubygems: path traversal (reading or writing files outside the intended folder)
Questions about CVE-2013-4363
Is CVE-2013-4363 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Rubygems are affected by CVE-2013-4363?
rubygems-update before 1.8.23.2, rubygems-update from 1.8.24 before 1.8.27, rubygems-update from 2.0.0 before 2.0.10 and rubygems-update from 2.1.0 before 2.1.5, per the GitHub advisory GHSA-9qvm-2vhf-q649. The tables above give every range the sources list.
Which version fixes CVE-2013-4363?
1.8.23.2, 1.8.27, 2.0.10 and 2.1.5, per the GitHub advisory GHSA-9qvm-2vhf-q649. Check the vendor's advisory before you rely on it.
How severe is CVE-2013-4363?
Medium (4.3, CVSS 2.0, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2013-4363?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.