# CVE-2022-0242: Unrestricted Upload of File with Dangerous Type in crater-invoice/crater

- Severity: High 7.2 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.46%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-17T18:15:11.000Z
- Modified: 2026-06-17T04:20:12.857Z
- Also known as: GHSA-728c-42pc-fwxg
- Weaknesses: CWE-434
- Assigned by: @huntrdev

## Description

Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.

(As written by CVE List.)

## Affected

- crater-invoice crater-invoice/crater: from unspecified before 6.0
- bytefury/crater (Packagist): before 6.0
- craterapp crater: before 6.0

## Every score

- @huntrdev: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 7.2 High `CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.0 Medium `AV:N/AC:M/Au:S/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/19f3e5f7-b419-44b1-9c37-7e4404cbec94> (exploit, third-party-advisory, web)
- <https://github.com/crater-invoice/crater/commit/dcb3ddecb9f4cde622cc42c51a2760747797624f> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-0242> (advisory)
- <https://github.com/crater-invoice/crater> (package)

## Sources

- CVE List: [CVE-2022-0242](https://www.cve.org/CVERecord?id=CVE-2022-0242), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-728c-42pc-fwxg](https://github.com/advisories/GHSA-728c-42pc-fwxg), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-0242](https://nvd.nist.gov/vuln/detail/CVE-2022-0242), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0242 · Whole record: https://cve.day/CVE-2022-0242.json · Rebuilt by cve.day 2026-11-25T22:58:09.258Z
