ghsa-wrx5-rp7m-mm49
Vulnerability from github
Published
2022-10-06 18:52
Modified
2023-03-06 22:41
Severity ?
Summary
Withdrawn: CVE Rejected: JXPath vulnerable to remote code execution when interpreting untrusted XPath expressions
Details

This advisory has been withdrawn due to the CVE being rejected.

Original advisory text

Those using JXPath to interpret untrusted XPath expressions may be vulnerable to a remote code execution attack. All JXPathContext class functions processing a XPath string are vulnerable except compile() and compilePath() function. The XPath expression can be used by an attacker to load any Java class from the classpath resulting in code execution.

Show details on source website


{
   affected: [
      {
         package: {
            ecosystem: "Maven",
            name: "commons-jxpath:commons-jxpath",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     last_affected: "1.3",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
      },
   ],
   aliases: [
      "CVE-2022-41852",
   ],
   database_specific: {
      cwe_ids: [
         "CWE-470",
      ],
      github_reviewed: true,
      github_reviewed_at: "2022-10-06T20:35:33Z",
      nvd_published_at: "2022-10-06T18:17:00Z",
      severity: "CRITICAL",
   },
   details: "## This advisory has been withdrawn due to the CVE being rejected.\n\n## Original advisory text\nThose using JXPath to interpret untrusted XPath expressions may be vulnerable to a remote code execution attack. All JXPathContext class functions processing a XPath string are vulnerable except `compile()` and `compilePath()` function. The XPath expression can be used by an attacker to load any Java class from the classpath resulting in code execution.",
   id: "GHSA-wrx5-rp7m-mm49",
   modified: "2023-03-06T22:41:22Z",
   published: "2022-10-06T18:52:05Z",
   references: [
      {
         type: "ADVISORY",
         url: "https://nvd.nist.gov/vuln/detail/CVE-2022-41852",
      },
      {
         type: "WEB",
         url: "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47133",
      },
      {
         type: "WEB",
         url: "https://commons.apache.org/proper/commons-jxpath/users-guide.html#Standard_Extension_Functions",
      },
      {
         type: "PACKAGE",
         url: "https://github.com/apache/commons-jxpath",
      },
      {
         type: "WEB",
         url: "https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852",
      },
   ],
   schema_version: "1.4.0",
   severity: [
      {
         score: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
         type: "CVSS_V3",
      },
   ],
   summary: "Withdrawn: CVE Rejected: JXPath vulnerable to remote code execution when interpreting untrusted XPath expressions",
   withdrawn: "2023-03-06T22:41:22Z",
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.