CVE-2021-4080 Unrestricted Upload of File with Dangerous Type in crater-invoice/crater
Attackers can upload malicious files to the Crater invoicing application, potentially leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-4080?
CVE-2021-4080 is a high-severity vulnerability in crater-invoice/crater, published on 12 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
crater is vulnerable to Unrestricted Upload of File with Dangerous Type
Weakness: CWE-434
Which versions are affected by CVE-2021-4080?
2 open source packages ship an affected version, including bytefury/crater. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
bytefury/crater Packagist | All versions | 6.0.0 |
bytefury/crater Packagist | All versions | 6.0.0 |
Products include Craterapp Crater.
How do I fix CVE-2021-4080?
Upgrade bytefury/crater to 6.0.0 or later.
Is CVE-2021-4080 being exploited?
There is no known exploitation of CVE-2021-4080 in the wild and no public exploit code.
Other vulnerabilities in crater-invoice/crater
- CVE-2022-0372 Cross-site Scripting (XSS) - Stored in crater-invoice/crater
- CVE-2022-0203 Improper Access Control in crater-invoice/crater
- CVE-2023-46865 Code injection in n/a
- CVE-2022-1032 Insecure deserialization of not validated module file in crater-invoice/crater
- CVE-2022-1033 Unrestricted Upload of File with Dangerous Type in crater-invoice/crater
Sources
Also known as GHSA-wppj-3pjr-9w79.