Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jruby.ext.posix/jna-posix
  4. ›
  5. CVE-2010-1330

CVE-2010-1330: XSS in the regular expression engine when processing invalid UTF-8 byte sequences

November 23, 2012 (updated August 16, 2017)

The regular expression engine in this package, 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.

References

  • www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html
  • bugs.gentoo.org/show_bug.cgi?id=317435

Code Behaviors & Features

Detect and mitigate CVE-2010-1330 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.7

Fixed versions

  • 0.8

Solution

Upgrade to version 0.8 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.jruby.ext.posix/jna-posix/CVE-2010-1330.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.