CVE-2010-1330
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.2% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.2% · EPSS, next 30 days
- Weakness
- CWE-79 · Cross-site scripting
- Record status
- Modified
Affected
- Jruby ≤ 1.4.0
- Jruby 0.9.0
- Jruby 0.9.1
- Jruby 0.9.2
- Jruby 0.9.8
- Jruby 0.9.9
- Jruby 1.0.0
- Jruby 1.0.1
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2010-1330.md and follow it. Check whether this project is affected by CVE-2010-1330. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/46891
- http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
- http://secunia.com/advisories/46891
- http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
References
- http://rhn.redhat.com/errata/RHSA-2011-1456.html
- http://secunia.com/advisories/46891
- http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
- http://www.osvdb.org/77297
- https://bugs.gentoo.org/show_bug.cgi?id=317435
- https://bugzilla.redhat.com/show_bug.cgi?id=750306
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80277
- http://rhn.redhat.com/errata/RHSA-2011-1456.html
- http://secunia.com/advisories/46891
- http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
- http://www.osvdb.org/77297
- https://bugs.gentoo.org/show_bug.cgi?id=317435
- https://bugzilla.redhat.com/show_bug.cgi?id=750306
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80277