libxml-security-java — security advisory
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.
- Products
- libxml-security-java
- Affected versions
- Not specified
- Fixed versions
- 2.1.7-1
- CVEs
- CVE-2021-40690
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 11:07 UTC · Revision 1
Source evidence
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "secureValidation" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.
osv:DEBIAN-CVE-2021-40690
libxml-security-java
Fixed versions: 2.1.7-1
libxml-security-java
Fixed versions: 2.1.7-1
libxml-security-java
Fixed versions: 2.1.7-1
Complete source record
{
"id": "aa8318a99d27e01e92bc6aa601b8cefb00b53e8cf4d6517d4352d70f502fc92f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-40690",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-40690",
"summary": "All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the \"secureValidation\" property is not passed correctly when creating a KeyInfo from a KeyInfoReference element. This allows an attacker to abuse an XPath Transform to extract any local .xml files in a RetrievalMethod element.",
"evidence": "osv:DEBIAN-CVE-2021-40690",
"products": [
{
"name": {
"value": "libxml-security-java",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.7-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml-security-java",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.7-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libxml-security-java",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.7-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2021-40690",
"aliases": [
"DEBIAN-CVE-2021-40690"
],
"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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.7-1"
}
]
}
],
"package": {
"name": "libxml-security-java",
"purl": "pkg:deb/debian/libxml-security-java?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40690.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.7-1"
}
]
}
],
"package": {
"name": "libxml-security-java",
"purl": "pkg:deb/debian/libxml-security-java?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40690.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.7-1"
}
]
}
],
"package": {
"name": "libxml-security-java",
"purl": "pkg:deb/debian/libxml-security-java?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40690.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-09T09:47:27.124717881Z",
"provider": "osv",
"upstream": [
"CVE-2021-40690"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-40690"
]
},
"related_cves": [
{
"value": "CVE-2021-40690",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 111520,
"published_at": "2021-09-19T18:15:07.223+00:00"
}