CVE-2023-49087
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
simplesamlphp/xml-securityPackagist | >= 1.6.11, < 1.6.12 | 1.6.12 |
simplesamlphp/saml2Packagist | >= 5.0.0-alpha.12, < 5.0.0-alpha.13 | 5.0.0-alpha.13 |
Affected products
5- cpe:2.3:a:simplesamlphp:saml2:5.0.0:alpha12:*:*:*:*:*:*
cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:simplesamlphp:xml-security:1.6.11:*:*:*:*:*:*:*
- (no CPE)range: = 1.6.11
- ghsa-coords2 versions
>= 5.0.0-alpha.12, < 5.0.0-alpha.13+ 1 more
- (no CPE)range: >= 5.0.0-alpha.12, < 5.0.0-alpha.13
- (no CPE)range: >= 1.6.11, < 1.6.12
Patches
Vulnerability mechanics
References
5- github.com/simplesamlphp/xml-security/commit/f509e3083dd7870cce5880c804b5122317287581nvdPatchWEB
- github.com/simplesamlphp/xml-security/security/advisories/GHSA-ww7x-3gxh-qm6rnvdExploitVendor AdvisoryWEB
- github.com/advisories/GHSA-ww7x-3gxh-qm6rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-49087ghsaADVISORY
- github.com/simplesamlphp/xml-security/blob/master/src/XML/SignedElementTrait.phpghsaWEB
News mentions
0No linked articles in our index yet.