MEDIUM6.5
GHSA-9fmg-89fx-r33w
Quadratic blowup in Convert::xml2array()
Quick fix
GHSA-9fmg-89fx-r33w — silverstripe/framework: upgrade to the fixed version with the command below.
composer require silverstripe/framework:^4.10.9Details
Silverstripe silverstripe/framework 4.x until 4.10.9 has a quadratic blowup in Convert::xml2array() that enables a remote attack via a crafted XML document.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/silverstripe/framework
Introduced in:
4.0.0Fixed in: 4.10.9Fix
composer require silverstripe/framework:^4.10.9References
- https://nvd.nist.gov/vuln/detail/CVE-2021-41559[ADVISORY]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2021-41559.yaml[WEB]
- https://github.com/silverstripe/silverstripe-framework/releases[WEB]
- https://www.silverstripe.org/download/security-releases[WEB]
- https://www.silverstripe.org/download/security-releases/cve-2021-41559[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/silverstripe/framework"]}'