critical9.8
CVE-2022-41852
Withdrawn: CVE Rejected: JXPath vulnerable to remote code execution when interpreting untrusted XPath expressions
Impact
## 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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | commons-jxpath:commons-jxpath | <= 1.3 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wrx5-rp7m-mm49
- https://nvd.nist.gov/vuln/detail/CVE-2022-41852
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47133
- https://commons.apache.org/proper/commons-jxpath/users-guide.html#Standard_Extension_Functions
- https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852/