CVE-2010-1330: XSS

Published Oct 31, 2011
·
Updated

A cross-site scripting (XSS) flaw was found in the way the regular expression engine of the JRuby, Java implementation of the Ruby programming language, processed certain invalid UTF-8 byte sequences. A remote attacker could use this flaw to execute arbitrary HTML or web script via specially-crafted input provided to an JRuby application.

References: [1] http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html [2] https://bugs.gentoo.org/showbug.cgi?id=317435

Proposed upstream solution (is to upgrage to jcodings-v1.0.3): [3] http://repo1.maven.org/maven2/org/jruby/jcodings/jcodings/1.0.3/jcodings-1.0.3.jar

Other sources

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.

MITRE

Affected Software

35 affected components
jruby JRuby=1.4.0-rc1
jruby JRuby=0.9.2
jruby JRuby=1.0.3
jruby JRuby=1.2.0
jruby JRuby=0.9.9
jruby JRuby=1.1.6-rc1
jruby JRuby=1.1
jruby JRuby=1.1-rc2
jruby JRuby=1.2.0-rc2
jruby JRuby=1.0.2
jruby JRuby=1.0.0-rc2
jruby JRuby=1.1-rc1
jruby JRuby=1.0.1
jruby JRuby=1.1-rc3
jruby JRuby=0.9.8
jruby JRuby=1.1.2
jruby JRuby=1.3.0-rc1
jruby JRuby=1.3.0
jruby JRuby=1.0.0-rc3
jruby JRuby=1.1.4
jruby JRuby=1.4.0-rc3
jruby JRuby=1.4.0-rc2
jruby JRuby=1.3.1
jruby JRuby=1.1.6
jruby JRuby=1.1.1
jruby JRuby=1.2.0-rc1
jruby JRuby=0.9.0
jruby JRuby=1.3.0-rc2
jruby JRuby=1.1.3
jruby JRuby=1.0.0-rc1
jruby JRuby=0.9.1
jruby JRuby<=1.4.0
jruby JRuby=1.1.5
jruby JRuby=1.0.0
jruby JRuby=1.1-beta1

Event History

Oct 31, 2011
Data Sourced
04:25 PM
DescriptionSeverityAffected Software
Nov 23, 2012
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-1330?

The severity of CVE-2010-1330 is classified as medium due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2010-1330?

To fix CVE-2010-1330, upgrade JRuby to version 1.4.1 or later, which addresses the vulnerability.

3

Which versions of JRuby are affected by CVE-2010-1330?

CVE-2010-1330 affects multiple JRuby versions including 0.9.0 through 1.4.0-rc3.

4

What kind of attacks can exploit CVE-2010-1330?

CVE-2010-1330 can be exploited for cross-site scripting attacks, allowing remote attackers to execute arbitrary HTML or web scripts.

5

Is there a known exploit for CVE-2010-1330?

As of now, there are no publicly disclosed exploits specifically targeting CVE-2010-1330.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203