CVE-2020-19316 OS Command Injection in Laravel Framework
Attackers can execute arbitrary OS commands via the link function in Laravel Framework, requiring an upgrade to secure the application.
- 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-2020-19316?
CVE-2020-19316 is a high-severity command injection vulnerability in n/a, published on 20 Dec 2021. 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
OS Command injection vulnerability in function link in Filesystem.php in Laravel Framework before 5.8.17.
Weakness: CWE-78
Which versions are affected by CVE-2020-19316?
2 open source packages ship an affected version, including laravel/framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
laravel/framework Packagist | All versions | 5.8.17 |
laravel/framework Packagist | All versions | 5.8.17 |
Products include Laravel Framework.
How do I fix CVE-2020-19316?
Upgrade laravel/framework to 5.8.17 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2020-19316 being exploited?
There is no known exploitation of CVE-2020-19316 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-w2pm-r78h-4m7v.