PT-2012-1298 · Jruby · Jruby
Published
2012-11-23
·
Updated
2022-05-02
·
CVE-2010-1330
CVSS v2.0
4.3
Medium
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
JRuby versions prior to 1.4.1
Description
The issue is related to the regular expression engine in JRuby. When $KCODE is set to 'u', it does not properly handle characters immediately after a UTF-8 character. This allows remote attackers to conduct cross-site scripting (XSS) attacks via a crafted string.
Recommendations
For versions prior to 1.4.1, update to version 1.4.1 or later to resolve the issue. As a temporary workaround, consider avoiding the use of $KCODE set to 'u' in the regular expression engine until a patch is applied.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jruby