Description
Apache XML Security for C++ through 2.0.4 implements the XML Signature Syntax and Processing (XMLDsig) specification without protection against an SSRF payload in a KeyInfo element. NOTE: the project disputes this CVE Record on the grounds that any vulnerabilities are the result of a failure to configure XML Security for C++ securely. Even when avoiding this particular issue, any use of this library would need considerable additional code and a deep understanding of the standards and protocols involved to arrive at a secure implementation for any particular use case. We recommend against continued direct use of this library.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | xml-security-c | No fix yet | — |
| Ubuntu 26.04 LTS | xml-security-c | No fix yet | — |
| Ubuntu 25.10 | xml-security-c | No fix yet | — |
| Ubuntu 24.04 LTS | xml-security-c | No fix yet | — |
| Ubuntu 22.04 LTS | xml-security-c | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | xml-security-c | No fix yet | — |
| Ubuntu 18.04 LTS | xml-security-c | No fix yet | — |
| Ubuntu 16.04 LTS | xml-security-c | No fix yet | — |
Advisories 1
- WID-SEC-2024-1461 Apache XML-Security for C++: Schwachstelle ermöglicht Offenlegung von Informationen BSI CERT-Bund (WID) · Jun 25, 2024
References
- https://santuario.apache.org/download.html
- https://cloud.google.com/blog/topics/threat-intelligence/apache-library-allows-server-side-request-forgery
- https://www.sonatype.com/blog/the-exploited-ivanti-connect-ssrf-vulnerability-stems-from-xmltooling-oss-library
- https://github.com/zmanion/Vulnerabilities/blob/main/CVE-2024-21893.md
- https://lists.apache.org/thread/po2gocnw4gtf4boy5mmjb54g62qhbrl9
- https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3726671873/Santuario