{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"not yet assigned\"}"}}}], "affected": [{"vendor": "debian", "product": "jruby", "versions": [{"status": "affected", "version": "0", "lessThan": "1.5.0~rc1-1", "versionType": "deb"}], "platforms": ["bookworm", "forky", "sid", "trixie"], "defaultStatus": "unaffected"}], "references": [{"url": "https://security-tracker.debian.org/tracker/CVE-2010-1330"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "79363d38-fa19-49d1-9214-5f28da3f3ac5", "shortName": "debian", "dateUpdated": "2012-11-23T19:00:00.000Z", "x_subShortName": "debian"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 4.3, "accessVector": "NETWORK", "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "MEDIUM", "availabilityImpact": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:jruby:jruby:*:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:0.9.0:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:0.9.1:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:0.9.2:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:0.9.8:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:0.9.9:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.0:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.0:rc3:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.0.3:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.2:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.3:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.4:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.5:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.6:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1.6:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1:beta1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1:rc2:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.1:rc3:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.2.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.2.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.3.0:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.3.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.3.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.3.1:*:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.4.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.4.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:jruby:jruby:1.4.0:rc3:*:*:*:*:*:*"], "vendor": "jruby", "product": "jruby", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "1.4.0"}, {"status": "affected", "version": "0.9.0"}, {"status": "affected", "version": "0.9.1"}, {"status": "affected", "version": "0.9.2"}, {"status": "affected", "version": "0.9.8"}, {"status": "affected", "version": "0.9.9"}, {"status": "affected", "version": "1.0.0"}, {"status": "affected", "version": "1.0.1"}, {"status": "affected", "version": "1.0.2"}, {"status": "affected", "version": "1.0.3"}, {"status": "affected", "version": "1.1"}, {"status": "affected", "version": "1.1.1"}, {"status": "affected", "version": "1.1.2"}, {"status": "affected", "version": "1.1.3"}, {"status": "affected", "version": "1.1.4"}, {"status": "affected", "version": "1.1.5"}, {"status": "affected", "version": "1.1.6"}, {"status": "affected", "version": "1.2.0"}, {"status": "affected", "version": "1.3.0"}, {"status": "affected", "version": "1.3.1"}, {"status": "affected", "version": "1.4.0"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html", "tags": ["exploit", "patch", "vendor-advisory"]}, {"url": "http://secunia.com/advisories/46891", "tags": ["vendor-advisory"]}, {"url": "http://rhn.redhat.com/errata/RHSA-2011-1456.html"}, {"url": "http://www.osvdb.org/77297"}, {"url": "https://bugs.gentoo.org/show_bug.cgi?id=317435"}, {"url": "https://bugzilla.redhat.com/show_bug.cgi?id=750306"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80277"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "El motor de expresiones regulares en JRuby anterior a v1.4.1, cuando $KCODE está fijado en 'u', no trata correctamente los caracteres inmediatamente después de caracteres UTF-8, permitiendo a atacantes remotos realizar ataques de tipo \"cross-site scripting\" (XSS) mediante una cadena manipulada."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-79", "description": "CWE-79"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2012-11-23T19:55:01Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2010-1330", "state": "PUBLISHED", "dateUpdated": "2025-04-11T00:51:21Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2012-11-23T19:55:01Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}