GHSA-j5g2-q29x-cw3h
HIGH 8.3CVSS 3.1withdrawn / rejectedSimpleSAMLphp vulnerable to XXE in parsing SAML messages
Withdrawn Advisory
This advisory has been withdrawn because the vulnerability affects users of the SimpleSAMLphp tarball, not the SimpleSAMLphp Composer package. The underlying information about CVE-2024-52596 is still valid.
Original Description
Summary
When loading an (untrusted) XML document, for example the SAMLResponse, it's possible to induce an XXE.
Mitigation:
Remove the LIBXML_DTDLOAD | LIBXML_DTDATTR options from $options is in: https://github.com/simplesamlphp/saml2/blob/717c0adc4877ebd58428637e5626345e59fa0109/src/SAML2/DOMDocumentFactory.php#L41
Background / details
To be published on Dec 8th
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | simplesamlphp/simplesamlphp | >= 2.3.0, < 2.3.4 | 2.3.4 |
| OSV | Packagist | simplesamlphp/simplesamlphp | >= 2.2.0, < 2.2.4 | 2.2.4 |
| OSV | Packagist | simplesamlphp/simplesamlphp | >= 2.1.0, < 2.1.7 | 2.1.7 |
| OSV | Packagist | simplesamlphp/simplesamlphp | < 2.0.15 | 2.0.15 |
References
- https://github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h · WEB
- https://github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-52596 · ADVISORY
- https://github.com/simplesamlphp/simplesamlphp · PACKAGE
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Dec 2024)