Apache CXF directory listing / code exfiltration
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-46363
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:34 UTC · Revision 1
Source evidence
Apache CXF directory listing / code exfiltration
core-osv · Original sourcePublished 13 Dec 2022, 14:46 UTC
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.
osv:CVE-2022-46363
Complete source record
{
"id": "5cb4ea1113b71c5e804b44f6f0e973d23822972afddbb83c220f18ed43c5a210",
"url": "https://osv.dev/vulnerability/CVE-2022-46363",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache CXF directory listing / code exfiltration",
"summary": "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.",
"evidence": "osv:CVE-2022-46363",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2022-46363",
"aliases": [
"CVE-2022-46363",
"GHSA-3w37-5p3p-jv92"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/cxf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "c1cb4f5ffa1ec63e577644659c5957a3c1e94255"
},
{
"introduced": "f93a0cea91c19c41338d96899a69bb66c463e9ff"
},
{
"fixed": "dc4477f563acddc522018d9ef817304096b57a70"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.4.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.5.0"
},
{
"fixed": "3.5.5"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"cxf-3.5.4",
"cxf-3.4.9",
"cxf-3.5.3",
"cxf-3.4.8",
"cxf-3.5.2",
"cxf-3.4.7",
"cxf-3.5.1",
"cxf-3.4.6",
"cxf-3.5.0",
"cxf-3.4.5",
"cxf-3.4.4",
"cxf-3.4.3",
"cxf-3.4.2",
"cxf-3.4.1",
"cxf-3.4.0",
"cxf-3.3.3",
"cxf-3.3.2",
"cxf-3.3.1",
"cxf-3.3.0",
"cxf-3.2.5",
"cxf-3.2.4",
"cxf-3.2.3",
"cxf-3.2.2",
"cxf-3.2.1",
"cxf-3.2.0",
"cxf-3.1.4",
"cxf-3.1.3",
"cxf-3.1.2",
"cxf-3.1.1",
"cxf-3.1.0",
"cxf-3.0.0",
"cxf-3.0.0-milestone2",
"cxf-2.7.2",
"cxf-2.7.1",
"cxf-2.7.0",
"cxf-2.6.1",
"cxf-2.6.0",
"cxf-2.5.1",
"cxf-2.5.0",
"cxf-2.4.0",
"cxf-2.3.0",
"cxf-2.2.2",
"cxf-2.2.1",
"cxf-2.2",
"cxf-2.1.2",
"cxf-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-46363.json"
}
}
],
"modified": "2026-10-28T02:30:41.291401302Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46363.json",
"https://lists.apache.org/thread/pdzo1qgyplf4y523tnnzrcm7hoco3l8c",
"https://nvd.nist.gov/vuln/detail/CVE-2022-46363"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "3.5"
},
{
"fixed": "3.5.5"
},
{
"introduced": "3.4"
},
{
"fixed": "3.4.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46363.json"
}
},
"related_cves": [
{
"value": "CVE-2022-46363",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509143,
"published_at": "2022-12-13T14:46:55.619+00:00"
}