What’s Vulnerable › Vulnerabilities
CVE-2022-46363: Apache CXF directory listing / code exfiltration
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-12-13 · updated 2026-06-17
- Weakness: CWE-20
Description
A vulnerability in Apache CXF before versions 3.5.5 and 3.4.10 allows an attacker to perform a remote directory listing or code exfiltration. The vulnerability only applies when the CXFServlet is configured with both the static-resources-list and redirect-query-check attributes. These attributes are not supposed to be used together, and so the vulnerability can only arise if the CXF service is misconfigured.
Affected products
- Apache Software Foundation Apache CXF: before 3.4.10; from 3.5.0 before 3.5.5 — fixed in 3.4.10, 3.5.5
How to fix
Upgrade to a fixed version: Apache Software Foundation Apache CXF 3.4.10, 3.5.5. Check the vendor advisory for mitigations.
References
- https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c
- https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c
Get alerted when CVE-2022-46363 or the next vulnerability affects your stack