CVE-2021-41559 Quadratic blowup in Convert::xml2array()

Medium 6.5 Published Updated

A remote attacker can cause a denial of service in Silverstripe framework by sending a crafted XML document that triggers quadratic blowup.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-41559?

CVE-2021-41559 is a medium-severity denial of service vulnerability in Silverstripe Silverstripe, published on 28 Jun 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Silverstripe silverstripe/framework 4.8.1 has a quadratic blowup in Convert::xml2array() that enables a remote attack via a crafted XML document.

Weakness: CWE-776

Which versions are affected by CVE-2021-41559?

3 open source packages ship an affected version, including silverstripe/framework and silverstripe. It affects 1 product.

PackageAffectedFixed in
silverstripe/framework PackagistFrom 4.0.04.10.9
silverstripe/framework PackagistFrom 4.0.04.10.9
silverstripe BitnamiAll versions4.10.9

Products include Silverstripe Silverstripe.

How do I fix CVE-2021-41559?

Upgrade silverstripe/framework to 4.10.9 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-41559 being exploited?

There is no known exploitation of CVE-2021-41559 in the wild and no public exploit code.

All Silverstripe Silverstripe vulnerabilities

Sources

Also known as BIT-silverstripe-2021-41559, GHSA-9fmg-89fx-r33w.

Is CVE-2021-41559 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free