CVE-2010-1330 json
Cross-site Scripting in in JRuby
published 13y ago modified 4mo ago also GHSA-wmq2-jc9m-xp4m , EUVD-2022-5601
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
The regular expression engine in JRuby before 1.4.1, when $KCODE is set to 'u', does not properly handle characters immediately after a UTF-8 character, which allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted string.
Patch / fix
- maven org.jruby:jruby-core 1.4.1
- jruby Debian 14, Debian 13, Debian 12 1.5.0~rc1-1
debian advisories DEBIAN-CVE-2010-1330
Is CVE-2010-1330 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2010-1330 updated cvss 5.0
jruby: XSS in the regular expression engine when processing invalid UTF-8 byte sequences
-
Red Hat JBoss SOA Platform 5.1fixed: vendor fix RHSA-2011:1456
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.22% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- jruby.org http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jruby:jruby-core | <1.4.1 |
1.4.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
jruby.org
/2010/04/26/jruby-1-4-1-xss-vulnerability.html
web, exploit, patch, vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2011-1456.html
vendor-advisory, web
-
secunia.com
/advisories/46891
third-party-advisory, web, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=750306
web
-
bugs.gentoo.org
/show_bug.cgi?id=317435
web
-
osvdb.org
/77297
vdb-entry, web
-
exchange.xforce.ibmcloud.com
/vulnerabilities/80277
vdb-entry, web
-
nvd.nist.gov
/vuln/detail/CVE-2010-1330
advisory
-
github.com
/jruby/jruby
package
Sources
- CVE List CVE-2010-1330
- GitHub Advisory GHSA-wmq2-jc9m-xp4m
- NVD CVE-2010-1330
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.