{"id":"GHSA-wrvr-8mpx-r7pp","summary":"mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input","details":"Affected versions of `mime` are vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.\n\n\n## Recommendation\n\nUpdate to version 2.0.3 or later.","aliases":["CVE-2017-16138"],"modified":"2023-11-01T04:47:53.580094Z","published":"2018-07-20T16:20:52Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T22:01:10Z","nvd_published_at":null,"cwe_ids":["CWE-400"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16138"},{"type":"WEB","url":"https://github.com/broofa/node-mime/issues/167"},{"type":"WEB","url":"https://github.com/broofa/mime/commit/1df903fdeb9ae7eaa048795b8d580ce2c98f40b0"},{"type":"WEB","url":"https://github.com/broofa/mime/commit/855d0c4b8b22e4a80b9401a81f2872058eae274d"},{"type":"PACKAGE","url":"https://github.com/broofa/mime"}],"affected":[{"package":{"name":"mime","ecosystem":"npm","purl":"pkg:npm/mime"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.0.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-wrvr-8mpx-r7pp/GHSA-wrvr-8mpx-r7pp.json"}},{"package":{"name":"mime","ecosystem":"npm","purl":"pkg:npm/mime"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-wrvr-8mpx-r7pp/GHSA-wrvr-8mpx-r7pp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}