CVE-2024-52806: SimpleSAMLphp SAML2 has an XXE in parsing SAML messages

CVE-2024-52806 · Severity: low · CVSS 3.1 · Published 2024-12-02

SimpleSAMLphp SAML2 has an XXE in parsing SAML messages

Technologies: simplesamlphp/saml2 (Packagist), simplesamlphp/saml2-legacy (Packagist). Vendors: Packagist.

Quick answers

Is CVE-2024-52806 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-52806 being exploited in the wild.
How severe is CVE-2024-52806?
Low severity, with a CVSS score of 3.1, published 2 December 2024.
Which products and versions are affected?
simplesamlphp/saml2 (Packagist) ECOSYSTEM:introduced=0,fixed=4.6.14; simplesamlphp/saml2-legacy (Packagist) ECOSYSTEM:introduced=0,fixed=4.6.14.
Is there a fix for CVE-2024-52806?
Yes. simplesamlphp/saml2 (Packagist): upgrade to 4.6.14 or later; simplesamlphp/saml2-legacy (Packagist): upgrade to 4.6.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-52806?
Check whether you run simplesamlphp/saml2 (Packagist) or simplesamlphp/saml2-legacy (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • simplesamlphp/saml2 (Packagist): upgrade to 4.6.14 or later
    composer require simplesamlphp/saml2:^4.6.14
  • simplesamlphp/saml2-legacy (Packagist): upgrade to 4.6.14 or later
    composer require simplesamlphp/saml2-legacy:^4.6.14

Affected products

  • simplesamlphp/saml2 (Packagist) ECOSYSTEM:introduced=0,fixed=4.6.14
  • simplesamlphp/saml2-legacy (Packagist) ECOSYSTEM:introduced=0,fixed=4.6.14

Identifiers

  • CVE-2024-52806
  • GHSA-pxm4-r5ph-q2m2

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.