# CVE-2021-4080: crater is vulnerable to Unrestricted Upload of File with Dangerous Type

Source: https://junglewise.ai/threats/cve-2021-4080-crater-is-vulnerable-to-unrestricted-upload-of-file-with-dangerous  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-01-21  
License: CC BY 4.0 with a link back

CVE-2021-4080 · Severity: low · CVSS 3.1 · Published 2022-01-21

crater is vulnerable to Unrestricted Upload of File with Dangerous Type

Technologies: [bytefury/crater (Packagist)](https://junglewise.ai/threats/technologies/bytefury-crater). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-4080 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-4080 being exploited in the wild.

**How severe is CVE-2021-4080?** Low severity, with a CVSS score of 3.1, published 21 January 2022.

**Which products and versions are affected?** bytefury/crater (Packagist) ECOSYSTEM:introduced=0,fixed=6.0.0.

**Is there a fix for CVE-2021-4080?** Yes. bytefury/crater (Packagist): upgrade to 6.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-4080?** Check whether you run bytefury/crater (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- bytefury/crater (Packagist): upgrade to 6.0.0 or later

  ```sh
  composer require bytefury/crater:^6.0.0
  ```


## Affected products

- bytefury/crater (Packagist) ECOSYSTEM:introduced=0,fixed=6.0.0

## Identifiers

- CVE-2021-4080
- GHSA-wppj-3pjr-9w79

## Related threats

- [Cross-site Scripting in Crater Invoice](https://junglewise.ai/threats/cve-2022-0372-cross-site-scripting-in-crater-invoice)
- [Missing Authorization in Crater Invoice](https://junglewise.ai/threats/cve-2022-0203-missing-authorization-in-crater-invoice)
- [Unrestricted Upload of File with Dangerous Type in Crater](https://junglewise.ai/threats/cve-2022-0242-unrestricted-upload-of-file-with-dangerous-type-in-crater)
