{"id":"CVE-2022-0242","aliases":["EUVD-2022-0491","GHSA-728c-42pc-fwxg"],"status":"published","title":"Unrestricted Upload of File with Dangerous Type in crater-invoice/crater","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","severity":{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.0146,"percentile":0.73916,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-434"],"published":"2022-01-17T18:15:11Z","modified":"2026-11-11T02:45:14Z","fixes":[{"ecosystem":"Packagist","package":"bytefury/crater","fixed_in":["6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"bytefury/crater","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"bytefury/crater","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.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/19f3e5f7-b419-44b1-9c37-7e4404cbec94","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/crater-invoice/crater/commit/dcb3ddecb9f4cde622cc42c51a2760747797624f","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0242","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-728c-42pc-fwxg"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0242.json","tags":["advisory"]},{"url":"https://github.com/crater-invoice/crater","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-0242","title":"Unrestricted Upload of File with Dangerous Type in crater-invoice/crater","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-17T18:15:11Z","modified":"2024-08-02T23:18:42.888Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:34:41.69911Z"}],"euvd":[{"id":"EUVD-2022-0491","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-17T18:15:11Z","modified":"2024-08-02T23:18:42Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:26:06.080876Z"}],"ghsa":[{"id":"GHSA-728c-42pc-fwxg","title":"Unrestricted Upload of File with Dangerous Type in Crater","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-21T23:54:50Z","modified":"2023-02-03T05:04:37Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/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-2022-0242","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-17T19:15:07.47Z","modified":"2026-06-17T04:20:12.857Z","cvss":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"2.0","score":6,"vector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:10.836864Z"}],"osv":[{"id":"CVE-2022-0242","title":"Unrestricted Upload of File with Dangerous Type in crater-invoice/crater","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-17T18:15:11Z","modified":"2026-11-11T10:45:24.958638597Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-11T02:50:43.46164Z"},{"id":"GHSA-728c-42pc-fwxg","title":"Unrestricted Upload of File with Dangerous Type in Crater","description":"Unrestricted Upload of File with Dangerous Type in GitHub repository crater-invoice/crater prior to 6.0.","status":"published","published":"2022-01-21T23:54:50Z","modified":"2023-11-08T04:07:30.33396Z","cvss":[{"version":"3.0","score":7.2,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:40.308826Z"}]}}
