CVE-2022-0242 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
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0242?
CVE-2022-0242 is a high-severity vulnerability in crater-invoice/crater, published on 17 Jan 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.
Weakness: CWE-434
Which versions are affected by CVE-2022-0242?
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 |
bytefury/crater Packagist | All versions | 6.0 |
Products include Craterapp Crater.
How do I fix CVE-2022-0242?
Upgrade bytefury/crater to 6.0 or later.
Is CVE-2022-0242 being exploited?
There is no known exploitation of CVE-2022-0242 in the wild and no public exploit code.
Other vulnerabilities in crater-invoice/crater
- CVE-2021-4080 Unrestricted Upload of File with Dangerous Type 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
Sources
Also known as GHSA-728c-42pc-fwxg.