CVE-2009-0217
Apache XML Security For Java vulnerable to authentication bypass by HMAC truncation
Also known as GHSA-8hfm-837h-hjg5
Mitigation
- Upgrade org.apache.santuario:xmlsec to 1.4.3 or later.
Who should check
- Projects that depend on Maven package org.apache.santuario:xmlsec (>= 1.4.0, < 1.4.3)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.santuario:xmlsec >= 1.4.0, < 1.4.3
- Fixed in
- 1.4.3
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.0 (v2.0, NVD)AV:N/AC:L/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 6.36% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- Modified
Description
The design of the W3C XML Signature Syntax and Processing (XMLDsig) recommendation, as implemented in products including (1) the Oracle Security Developer Tools component in Oracle Application Server 10.1.2.3, 10.1.3.4, and 10.1.4.3IM; (2) the WebLogic Server component in BEA Product Suite 10.3, 10.0 MP1, 9.2 MP3, 9.1, 9.0, and 8.1 SP6; (3) Mono before 2.4.2.2; (4) XML Security Library before 1.2.12; (5) IBM WebSphere Application Server Versions 6.0 through 6.0.2.33, 6.1 through 6.1.0.23, and 7.0 through 7.0.0.1; (6) Sun JDK and JRE Update 14 and earlier; (7) Microsoft .NET Framework 3.0 through 3.0 SP2, 3.5, and 4.0; and other products uses a parameter that defines an HMAC truncation length (HMACOutputLength) but does not require a minimum for this length, which allows attackers to spoof HMAC-based signatures and bypass authentication by specifying a truncation length with a small number of bits.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.santuario:xmlsec | >= 1.4.0, < 1.4.3 | 1.4.3 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2009-0217. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2009-0217.md Affected: org.apache.santuario:xmlsec >= 1.4.0, < 1.4.3 Fixed in: 1.4.3 Steps: 1. Search this machine and project for org.apache.santuario:xmlsec (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://rhn.redhat.com/errata/RHSA-2009-1428.html
- http://www.gentoo.org/security/en/glsa/glsa-201408-19.xml
- http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&dc=D400&uid=swg24023545&loc=en_US&cs=UTF-8&lang=en&rss=ct180websphere
- https://rhn.redhat.com/errata/RHSA-2009-1200.html
- http://secunia.com/advisories/35776
- http://secunia.com/advisories/36162
- http://secunia.com/advisories/36494
- http://secunia.com/advisories/35858
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-269208-1
- http://www.debian.org/security/2010/dsa-1995
- http://marc.info/?l=bugtraq&m=125787273209737&w=2
- http://secunia.com/advisories/35853
- https://rhn.redhat.com/errata/RHSA-2009-1637.html
- http://www.redhat.com/support/errata/RHSA-2009-1694.html
- http://secunia.com/advisories/35852
- http://secunia.com/advisories/35854
- http://www.mono-project.com/Vulnerabilities
- http://sunsolve.sun.com/search/document.do?assetkey=1-77-1020710.1-1
- http://www.ubuntu.com/usn/USN-903-1
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:209
- http://lists.opensuse.org/opensuse-security-announce/2010-03/msg00005.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00310.html
- http://sunsolve.sun.com/search/document.do?assetkey=1-66-263429-1
- https://rhn.redhat.com/errata/RHSA-2009-1636.html
- http://www-01.ibm.com/support/docview.wss?rs=180&context=SSEQTP&dc=D400&uid=swg24023723&loc=en_US&cs=UTF-8&lang=en&rss=ct180websphere
- https://rhn.redhat.com/errata/RHSA-2009-1649.html
- http://secunia.com/advisories/36180
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00494.html
- http://www.w3.org/2008/06/xmldsigcore-errata.html#e03
- https://usn.ubuntu.com/826-1/
- http://secunia.com/advisories/35855
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00505.html
- http://secunia.com/advisories/36176
- http://www.w3.org/QA/2009/07/hmac_truncation_in_xml_signatu.html
- https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00325.html
- http://lists.apple.com/archives/security-announce/2009/Sep/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2009-11/msg00002.html
- https://rhn.redhat.com/errata/RHSA-2009-1201.html
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2010/ms10-041
- https://rhn.redhat.com/errata/RHSA-2009-1650.html
- https://nvd.nist.gov/vuln/detail/CVE-2009-0217
Patches
- http://www.securityfocus.com/bid/35671
- http://www.vupen.com/english/advisories/2009/1900
- http://www.vupen.com/english/advisories/2009/1909
- http://www.vupen.com/english/advisories/2009/1908
- http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg21384925
- http://www.vupen.com/english/advisories/2009/1911
- https://gitlab.gnome.org/Archive/xmlsec/-/commit/34b349675af9f72eb822837a8772cc1ead7115c7
Other
- http://www.vupen.com/english/advisories/2009/3122
- http://www.openoffice.org/security/cves/CVE-2009-0217.html
- https://issues.apache.org/bugzilla/show_bug.cgi?id=47526
- http://secunia.com/advisories/60799
- http://www.vupen.com/english/advisories/2009/2543
- http://secunia.com/advisories/38695
- http://secunia.com/advisories/34461
- http://www.kb.cert.org/vuls/id/WDON-7TY529
- https://issues.apache.org/bugzilla/show_bug.cgi?id=47527
- http://www.vupen.com/english/advisories/2010/0366
- http://osvdb.org/55907
- http://secunia.com/advisories/38567
- http://blogs.sun.com/security/entry/cert_vulnerability_note_vu_466161
- http://www.securitytracker.com/id?1022561
- http://www.oracle.com/technetwork/topics/security/cpuoct2010-175626.html
- http://secunia.com/advisories/37671
- http://www.kb.cert.org/vuls/id/466161
- http://www.securitytracker.com/id?1022567
- http://www.oracle.com/technetwork/topics/security/cpujul2009-091332.html
- http://www.us-cert.gov/cas/techalerts/TA09-294A.html
- http://www.vupen.com/english/advisories/2010/0635
- http://svn.apache.org/viewvc?revision=794013&view=revision
- http://secunia.com/advisories/38568
- http://secunia.com/advisories/37841
- http://www.oracle.com/technetwork/topics/security/cpuoct2009-096303.html
- http://sunsolve.sun.com/search/document.do?assetkey=1-21-125136-16-1
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A7158
- http://git.gnome.org/cgit/xmlsec/commit/?id=34b349675af9f72eb822837a8772cc1ead7115c7
- http://secunia.com/advisories/41818
- http://www.securitytracker.com/id?1022661
- http://secunia.com/advisories/37300
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A8717
- http://git.gnome.org/cgit/xmlsec/patch/?id=34b349675af9f72eb822837a8772cc1ead7115c7
- http://www.kb.cert.org/vuls/id/MAPG-7TSKXQ
- http://www.us-cert.gov/cas/techalerts/TA10-159B.html
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10186
- http://osvdb.org/55895
- http://www.aleksey.com/xmlsec/
- http://secunia.com/advisories/38921
- https://bugzilla.redhat.com/show_bug.cgi?id=511915
- https://www.w3.org/QA/2009/07/hmac_truncation_in_xml_signatu.html
- https://www.w3.org/2008/06/xmldsigcore-errata.html#e03
- https://www.us-cert.gov/cas/techalerts/TA09-294A.html
- https://www.ubuntu.com/usn/USN-903-1
- https://www.redhat.com/support/errata/RHSA-2009-1694.html
- https://www.mandriva.com/security/advisories?name=MDVSA-2009:209
- https://www.kb.cert.org/vuls/id/WDON-7TY529
- https://www.kb.cert.org/vuls/id/MAPG-7TSKXQ
- https://www.kb.cert.org/vuls/id/466161
- https://www.gentoo.org/security/en/glsa/glsa-201408-19.xml
- https://www.debian.org/security/2010/dsa-1995
- https://svn.apache.org/viewvc?revision=794013&view=revision
- https://marc.info/?l=bugtraq&m=125787273209737&w=2
- https://lists.opensuse.org/opensuse-security-announce/2010-03/msg00005.html
- https://lists.opensuse.org/opensuse-security-announce/2009-11/msg00002.html
- https://lists.apple.com/archives/security-announce/2009/Sep/msg00000.html
FAQ
Is CVE-2009-0217 being exploited?
There is no confirmed exploitation: CVE-2009-0217 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 6.36% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2009-0217?
Medium: CVSS 5.0 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2009-0217?
org.apache.santuario:xmlsec >= 1.4.0, < 1.4.3.
Is there a fix for CVE-2009-0217?
Yes. Fixed in 1.4.3. Upgrade org.apache.santuario:xmlsec to 1.4.3 or later.
How do I check if I'm affected by CVE-2009-0217?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.