Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Maven
Not in CISA KEV

CVE-2013-1821 jruby

CVE-2013-1821 is a Improper Input Validation vulnerability in org.jruby:jruby. A fix is available for org.jruby:jruby — see the affected versions and patch details below.

Ruby vulnerable to denial of service

Published
May 17, 2022
Updated
Nov 29, 2024
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Sep 17, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
6.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs94th percentile — riskier than 94% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

1 pkg affected
org.jruby:jruby

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.

Description

When reading text nodes from an XML document, the REXML parser can be coerced in to allocating extremely large string objects which can consume all of the memory on a machine, causing a denial of service.

Jruby resolves this bug in version 1.7.3 as noted in https://www.jruby.org/2013/02/21/jruby-1-7-3.html

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
Mavenorg.jruby:jrubyall versions1.7.3org.jruby:jruby:1.7.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jruby:jruby, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.jruby:jruby to 1.7.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-1821 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like CVE-2013-1821 can be triaged on real exposure rather than presence alone.

Tailored to CVE-2013-1821. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
ProductFixed inAdvisory
Fuse ESB Enterprise 7.1.0see advisoryRHSA-2013:1028
Red Hat Enterprise Linux 5ruby-0:1.8.5-29.el5_9RHSA-2013:0611
Red Hat Enterprise Linux 6ruby-0:1.8.7.352-10.el6_4RHSA-2013:0612
Red Hat JBoss Fuse 6.0see advisoryRHSA-2013:1185
Red Hat JBoss SOA Platform 5.3see advisoryRHSA-2013:1147
Red Hat Hardened Imagesruby3-3-main-3.3.10-23.1.hum1RHSA-2026:7305
Red Hat Hardened Imagesruby3-4-main-3.4.8-31.1.hum1RHSA-2026:7307
Red Hat Hardened Imagesruby4-0-main-4.0.0-33.3.hum1RHSA-2026:8838

Frequently Asked Questions

When reading text nodes from an XML document, the REXML parser can be coerced in to allocating extremely large string objects which can consume all of the memory on a machine, causing a denial of service. Jruby resolves this bug in version 1.7.3 as noted in https://www.jruby.org/2013/02/21/jruby-1-7-3.html
O3 Security · Impact-Aware SCA

Is CVE-2013-1821 in your dependencies?

O3 Security finds CVE-2013-1821 across Maven dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

CVE-2013-1821: jruby DoS | O3 Security