CVE-2021-45040 File upload in n/a

Critical 9.8 Published Updated

Remote attackers can upload executable files via the uploads route in the Spatie media-library-pro library, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-45040?

CVE-2021-45040 is a critical vulnerability in n/a, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Spatie media-library-pro library through 1.17.10 and 2.x through 2.1.6 for Laravel allows remote attackers to upload executable files via the uploads route.

Weakness: CWE-434

Which versions are affected by CVE-2021-45040?

It affects 1 product.

Products include Spatie Laravel Media Library.

How do I fix CVE-2021-45040?

No fix has been published for CVE-2021-45040 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-45040 being exploited?

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

Sources

Also known as GHSA-qc53-8q7w-83c4.

Is CVE-2021-45040 in your software?

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

Check your SBOMs for free