CVE-2023-49087
CVE-2023-49087 · Validation of SignedInfo
This page contains facts from public vulnerability sources. Check the original advisory before updating.
xml-security is a library that implements XML signatures and encryption. Validation of an XML signature requires verification that the hash value of the related XML-document matches a specific DigestValue-value, but also that the cryptographic signature on the SignedInfo-tree (the one that contains the DigestValue) verifies and matches a trusted public key. If an attacker somehow (i.e. by exploiting a bug in PHP's canonicalization function) manages to manipulate the canonicalized version's DigestValue, it would be possible to forge the signature. This issue has been patched in version 1.6.12 and 5.0.0-alpha.13.
CVSS 6.8 · Medium · EPSS 0.2% · Fix available
- Published
- Updated
Stack: php
Affected products and versions
xml-security
- Versions
- = 1.6.11: Affected
- = 5.0.0-alpha.12: Affected
No fix published
simplesamlphp/xml-security Packagist
- Versions
- 1.6.11
- v1.6.11
- Affected ranges
- ECOSYSTEM: ≥ 1.6.11, < 1.6.12
Update to 1.6.12
simplesamlphp/saml2 Packagist
- Versions
- 5.0.0-alpha.12
- Affected ranges
- ECOSYSTEM: ≥ 5.0.0-alpha.12, < 5.0.0-alpha.13
Update to 5.0.0-alpha.13