gsd-2010-1330
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
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.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2010-1330",
    "description": "The regular expression engine in JRuby before 1.4.1, when $KCODE is set to \u0027u\u0027, 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.",
    "id": "GSD-2010-1330",
    "references": [
      "https://access.redhat.com/errata/RHSA-2011:1456"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2010-1330"
      ],
      "details": "The regular expression engine in JRuby before 1.4.1, when $KCODE is set to \u0027u\u0027, 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.",
      "id": "GSD-2010-1330",
      "modified": "2023-12-13T01:21:32.947807Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2010-1330",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "The regular expression engine in JRuby before 1.4.1, when $KCODE is set to \u0027u\u0027, 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."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://bugzilla.redhat.com/show_bug.cgi?id=750306",
            "refsource": "MISC",
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=750306"
          },
          {
            "name": "RHSA-2011:1456",
            "refsource": "REDHAT",
            "url": "http://rhn.redhat.com/errata/RHSA-2011-1456.html"
          },
          {
            "name": "https://bugs.gentoo.org/show_bug.cgi?id=317435",
            "refsource": "MISC",
            "url": "https://bugs.gentoo.org/show_bug.cgi?id=317435"
          },
          {
            "name": "77297",
            "refsource": "OSVDB",
            "url": "http://www.osvdb.org/77297"
          },
          {
            "name": "46891",
            "refsource": "SECUNIA",
            "url": "http://secunia.com/advisories/46891"
          },
          {
            "name": "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html",
            "refsource": "CONFIRM",
            "url": "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html"
          },
          {
            "name": "jruby-expression-engine-xss(80277)",
            "refsource": "XF",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80277"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "[,1.4.1)",
          "affected_versions": "All versions starting from 0.9.93",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2017-08-16",
          "description": "The regular expression engine in this package, when `$KCODE` is set to \u0027u\u0027, 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_versions": [
            "1.4.1"
          ],
          "identifier": "CVE-2010-1330",
          "identifiers": [
            "CVE-2010-1330"
          ],
          "package_slug": "maven/jline/jline",
          "pubdate": "2012-11-23",
          "solution": "Upgrade to version 1.4.1 or above.",
          "title": "XSS in the regular expression engine when processing invalid UTF-8 byte sequences",
          "urls": [
            "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html",
            "https://bugs.gentoo.org/show_bug.cgi?id=317435"
          ],
          "uuid": "84e0885b-f893-4632-b9f7-0fa6577adc98"
        },
        {
          "affected_range": "[0.7]",
          "affected_versions": "All versions starting from 0.7",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2017-08-16",
          "description": "The regular expression engine in this package, when `$KCODE` is set to \u0027u\u0027, 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_versions": [
            "0.8"
          ],
          "identifier": "CVE-2010-1330",
          "identifiers": [
            "CVE-2010-1330"
          ],
          "not_impacted": "All versions before 0.7, all versions after 0.7",
          "package_slug": "maven/org.jruby.ext.posix/jna-posix",
          "pubdate": "2012-11-23",
          "solution": "Upgrade to version 0.8 or above.",
          "title": "XSS in the regular expression engine when processing invalid UTF-8 byte sequences",
          "urls": [
            "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html",
            "https://bugs.gentoo.org/show_bug.cgi?id=317435"
          ],
          "uuid": "259c75b9-063f-48a1-a1f9-690de6da383e"
        },
        {
          "affected_range": "[,0]",
          "affected_versions": "All versions",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2017-08-16",
          "description": "The regular expression engine in this package, when `$KCODE` is set to \u0027u\u0027, 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_versions": [],
          "identifier": "CVE-2010-1330",
          "identifiers": [
            "CVE-2010-1330"
          ],
          "package_slug": "maven/org.jruby.joni/joni",
          "pubdate": "2012-11-23",
          "solution": "Unfortunately, there is no solution at the moment.",
          "title": "XSS in the regular expression engine when processing invalid UTF-8 byte sequences",
          "urls": [
            "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html",
            "https://bugs.gentoo.org/show_bug.cgi?id=317435"
          ],
          "uuid": "ae28d03a-e4cb-4353-a3a2-230e0d52e094"
        },
        {
          "affected_range": "(,1.4.1)",
          "affected_versions": "All versions before 1.4.1",
          "cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-79",
            "CWE-79",
            "CWE-937"
          ],
          "date": "2022-11-01",
          "description": "The regular expression engine in JRuby before 1.4.1, when $KCODE is set to \u0027u\u0027, 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_versions": [
            "1.4.1"
          ],
          "identifier": "CVE-2010-1330",
          "identifiers": [
            "GHSA-wmq2-jc9m-xp4m",
            "CVE-2010-1330"
          ],
          "not_impacted": "All versions starting from 1.4.1",
          "package_slug": "maven/org.jruby/jruby-core",
          "pubdate": "2022-05-02",
          "solution": "Upgrade to version 1.4.1 or above.",
          "title": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2010-1330",
            "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",
            "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://github.com/advisories/GHSA-wmq2-jc9m-xp4m"
          ],
          "uuid": "c1056374-4ae6-44ac-a4d7-3e5fa9191b9b"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.3.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.3.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.6:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:0.9.8:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:0.9.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.4.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.3.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1:beta1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1:rc3:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.6:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.2:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.4.0:rc3:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.4.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.2.0:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.2.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.4:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.5:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.0:rc3:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:0.9.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "1.4.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.3.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.2.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1:rc1:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.1.3:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:1.0.0:rc2:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:0.9.9:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:jruby:jruby:0.9.1:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2010-1330"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The regular expression engine in JRuby before 1.4.1, when $KCODE is set to \u0027u\u0027, 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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-79"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://www.jruby.org/2010/04/26/jruby-1-4-1-xss-vulnerability.html"
            },
            {
              "name": "46891",
              "refsource": "SECUNIA",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://secunia.com/advisories/46891"
            },
            {
              "name": "https://bugzilla.redhat.com/show_bug.cgi?id=750306",
              "refsource": "MISC",
              "tags": [],
              "url": "https://bugzilla.redhat.com/show_bug.cgi?id=750306"
            },
            {
              "name": "https://bugs.gentoo.org/show_bug.cgi?id=317435",
              "refsource": "MISC",
              "tags": [],
              "url": "https://bugs.gentoo.org/show_bug.cgi?id=317435"
            },
            {
              "name": "RHSA-2011:1456",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2011-1456.html"
            },
            {
              "name": "77297",
              "refsource": "OSVDB",
              "tags": [],
              "url": "http://www.osvdb.org/77297"
            },
            {
              "name": "jruby-expression-engine-xss(80277)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80277"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 4.3,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": true
        }
      },
      "lastModifiedDate": "2021-01-12T14:46Z",
      "publishedDate": "2012-11-23T19:55Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...