xml-security-c — security advisory
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.
- Products
- xml-security-c
- Affected versions
- 1.7.2-3.1, 1.7.3-1, 1.7.3-1ubuntu0.1, 1.7.3-4, 1.7.3-4build1, 1.7.3-4ubuntu0.1, 2.0.2-3, 2.0.2-3build1, 2.0.2-4, 2.0.3-1, 2.0.4-1, 2.0.4-1build1, 2.0.4-2, 2.0.4-2build1, 2.0.4-2build2, 3.0.0-2, 3.0.0-2build1, 3.0.0-2ubuntu1, 3.0.0-2ubuntu2
- Fixed versions
- Not specified
- CVEs
- CVE-2024-34580
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:13 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2024-34580
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
xml-security-c
Fixed versions: Not specified
Complete source record
{
"id": "b055a394480f6354421b22c8d635caece0230644a2bafcb999868c4313f3b0d8",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-34580",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2024-34580",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2024-34580",
"products": [
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.2-3.1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "1.7.3-1ubuntu0.1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.7.3-4",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.3-4build1",
"evidence": "/affected/1/versions"
},
{
"value": "1.7.3-4ubuntu0.1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.2-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.2-3build1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.2-4",
"evidence": "/affected/3/versions"
},
{
"value": "2.0.3-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.0.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "2.0.4-1build1",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.0.4-2",
"evidence": "/affected/4/versions"
},
{
"value": "2.0.4-2build1",
"evidence": "/affected/4/versions"
},
{
"value": "2.0.4-2build2",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0-2",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0-2build1",
"evidence": "/affected/6/versions"
},
{
"value": "3.0.0-2ubuntu1",
"evidence": "/affected/6/versions"
},
{
"value": "3.0.0-2ubuntu2",
"evidence": "/affected/6/versions"
}
]
},
{
"name": {
"value": "xml-security-c",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.0.0-2",
"evidence": "/affected/7/versions"
},
{
"value": "3.0.0-2build1",
"evidence": "/affected/7/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2024-34580",
"aliases": [
"UBUNTU-CVE-2024-34580"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"1.7.2-3.1",
"1.7.3-1",
"1.7.3-1ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c17v5",
"binary_version": "1.7.3-1ubuntu0.1"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "1.7.3-1ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"1.7.3-4",
"1.7.3-4build1",
"1.7.3-4ubuntu0.1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c17v5",
"binary_version": "1.7.3-4ubuntu0.1"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "1.7.3-4ubuntu0.1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"2.0.2-3",
"2.0.2-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c20",
"binary_version": "2.0.2-3build1"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "2.0.2-3build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"2.0.2-4",
"2.0.3-1",
"2.0.4-1",
"2.0.4-1build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c20",
"binary_version": "2.0.4-1build1"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "2.0.4-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"2.0.4-2",
"2.0.4-2build1",
"2.0.4-2build2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c20",
"binary_version": "2.0.4-2build2"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "2.0.4-2build2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.0.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c30",
"binary_version": "3.0.0-2"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "3.0.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"3.0.0-2build1",
"3.0.0-2ubuntu1",
"3.0.0-2ubuntu2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c30",
"binary_version": "3.0.0-2ubuntu2"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "3.0.0-2ubuntu2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "xml-security-c",
"purl": "pkg:deb/ubuntu/xml-security-c?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.0.0-2",
"3.0.0-2build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-34580.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libxml-security-c30",
"binary_version": "3.0.0-2build1"
},
{
"binary_name": "xml-security-c-utils",
"binary_version": "3.0.0-2build1"
}
]
}
}
],
"modified": "2026-10-17T12:56:44.936659196Z",
"provider": "osv",
"upstream": [
"CVE-2024-34580"
],
"references": [
"https://ubuntu.com/security/CVE-2024-34580",
"https://www.cve.org/CVERecord?id=CVE-2024-34580",
"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://santuario.apache.org/download.html"
]
},
"related_cves": [
{
"value": "CVE-2024-34580",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 356134,
"published_at": "2024-06-26T05:15:00+00:00"
}