CVE-2021-28254 Deserialization in n/a
Attackers can execute arbitrary commands via a deserialization flaw in the destruct function of the Laravel framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-28254?
CVE-2021-28254 is a critical unsafe deserialization vulnerability in n/a, published on 18 Apr 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A deserialization vulnerability in the destruct() function of Laravel v8.5.9 allows attackers to execute arbitrary commands.
Weakness: CWE-502
Which versions are affected by CVE-2021-28254?
1 open source package ship an affected version, including laravel. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
laravel Bitnami | From 8.5.9 | 8.5.10 |
Products include Laravel Laravel.
How do I fix CVE-2021-28254?
Upgrade laravel to 8.5.10 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-28254 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-28254 exists.
Other vulnerabilities in n/a
- CVE-2018-15133 Laravel Deserialization of Untrusted Data
- CVE-2020-24940 Guard bypass in Eloquent models affecting Laravel illuminate database component
- CVE-2020-24941 Improper Input Validation in Laravel
- CVE-2017-16894 Information disclosure in n/a
- CVE-2021-21263 Query Binding Exploitation in Laravel
Sources
Also known as BIT-laravel-2021-28254, GHSA-5hq5-9pj6-4c2r.