{"id":"CVE-2021-4080","aliases":["EUVD-2022-0726","GHSA-wppj-3pjr-9w79"],"status":"published","title":"Unrestricted Upload of File with Dangerous Type in crater-invoice/crater","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","severity":{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.01522,"percentile":0.74805,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-434"],"published":"2022-01-12T14:05:10Z","modified":"2026-10-20T10:54:56Z","fixes":[{"ecosystem":"Packagist","package":"bytefury/crater","fixed_in":["6.0.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"bytefury/crater","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"bytefury/crater","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0.0"}]}],"versions":["1.0.0","1.1.0","2.0.0","2.0.1","2.0.2","2.1.0","3.0.0","3.1.0","3.1.1","4.0.0","4.0.1","4.0.2","4.0.3","4.0.4","4.1.0","4.2.0","5.0.0","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5","5.0.6"]}],"products":[{"vendor":"crater-invoice","product":"crater-invoice/crater"},{"vendor":"craterapp","product":"crater"}],"references":[{"url":"https://huntr.dev/bounties/d7453360-baca-4e56-985f-481275fa38db","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/crater-invoice/crater/commit/cdc913d16cf624aee852bc9163a7c6ffc8d1da9d","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4080","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-wppj-3pjr-9w79"},{"url":"https://github.com/crater-invoice/crater","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-4080","title":"Unrestricted Upload of File with Dangerous Type in crater-invoice/crater","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-12T14:05:10Z","modified":"2024-08-03T17:16:03.708Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:33:07.697752Z"}],"euvd":[{"id":"EUVD-2022-0726","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-12T14:05:10Z","modified":"2024-08-03T17:16:03Z","cvss":[{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:10.888157Z"}],"ghsa":[{"id":"GHSA-wppj-3pjr-9w79","title":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-21T23:55:11Z","modified":"2023-02-03T05:04:33Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:36:41.967989Z"}],"nvd":[{"id":"CVE-2021-4080","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-12T14:15:07.69Z","modified":"2026-06-17T04:19:00.31Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":6.5,"vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:03.418194Z"}],"osv":[{"id":"CVE-2021-4080","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-12T14:15:07.69Z","modified":"2026-10-20T10:54:56.406132899Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:21.249056Z"},{"id":"GHSA-wppj-3pjr-9w79","title":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","description":"crater is vulnerable to Unrestricted Upload of File with Dangerous Type","status":"published","published":"2022-01-21T23:55:11Z","modified":"2023-11-08T04:06:48.954727Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:58.767335Z"}]}}
