# CVE-2022-0242: Unrestricted Upload of File with Dangerous Type in Crater

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

CVE-2022-0242 · Severity: low · CVSS 3 · Published 2022-01-21

Unrestricted Upload of File with Dangerous Type in Crater

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

## Quick answers

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

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

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

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

**Am I affected by CVE-2022-0242?** 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 or later

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


## Affected products

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

## Identifiers

- CVE-2022-0242
- GHSA-728c-42pc-fwxg

## 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)
- [crater is vulnerable to Unrestricted Upload of File with Dangerous Type](https://junglewise.ai/threats/cve-2021-4080-crater-is-vulnerable-to-unrestricted-upload-of-file-with-dangerous)
