Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. simplesamlphp/simplesamlphp
  4. ›
  5. GHSA-j5g2-q29x-cw3h

GHSA-j5g2-q29x-cw3h: SimpleSAMLphp vulnerable to XXE in parsing SAML messages

December 2, 2024 (updated December 4, 2024)

When loading an (untrusted) XML document, for example the SAMLResponse, it’s possible to induce an XXE.

References

  • github.com/advisories/GHSA-j5g2-q29x-cw3h
  • github.com/simplesamlphp/simplesamlphp
  • github.com/simplesamlphp/simplesamlphp/security/advisories/GHSA-j5g2-q29x-cw3h
  • github.com/simplesamlphp/xml-common/security/advisories/GHSA-2x65-fpch-2fcm
  • nvd.nist.gov/vuln/detail/CVE-2024-52596

Code Behaviors & Features

Detect and mitigate GHSA-j5g2-q29x-cw3h with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.0.15, all versions starting from 2.1.0 before 2.1.7, all versions starting from 2.2.0 before 2.2.4, all versions starting from 2.3.0 before 2.3.4

Fixed versions

  • 2.3.4
  • 2.2.4
  • 2.1.7
  • 2.0.15

Solution

Upgrade to versions 2.0.15, 2.1.7, 2.2.4, 2.3.4 or above.

Impact 8.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

packagist/simplesamlphp/simplesamlphp/GHSA-j5g2-q29x-cw3h.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.