Description
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.
Remediation
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
Related Vulnerabilities
CVE-2019-3795 Vulnerability in maven package org.springframework.security:spring-security-core
CVE-2017-1000354 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2018-1000602 Vulnerability in maven package org.jenkins-ci.plugins:saml
CVE-2022-42009 Vulnerability in maven package org.apache.ambari:ambari
CVE-2018-5382 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on