Skip to content
OpenAdvisories
Medium CVE-2010-1330 EUVD-2022-5601GHSA-wmq2-jc9m-xp4m

Cross-site Scripting in in JRuby

Published Nov 23, 2012 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 jruby 1.5.0~rc1-1 —
Debian 13 jruby 1.5.0~rc1-1 —
Debian 12 jruby 1.5.0~rc1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jruby:jruby-core < 1.4.1 1.4.1 GHSA-wmq2-jc9m-xp4m

References