CVE-2021-41559 Quadratic blowup in Convert::xml2array()
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.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0 | 4.10.9 |
silverstripe/framework Packagist | From 4.0.0 | 4.10.9 |
silverstripe Bitnami | All versions | 4.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.
Other vulnerabilities in Silverstripe Silverstripe
Sources
Also known as BIT-silverstripe-2021-41559, GHSA-9fmg-89fx-r33w.