{"id":"GHSA-wrvr-8mpx-r7pp","revision":"e1034be64b5d4383b106a2423d1e4730","records":[{"revision":"e1034be64b5d4383b106a2423d1e4730","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-wrvr-8mpx-r7pp","aliases":["CVE-2017-16138"],"title":"mime Regular Expression Denial of Service when MIME lookup performed on untrusted user input","description":"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.","state":0,"publishedAt":"2018-07-20T16:20:52+00:00","modifiedAt":"2023-11-08T03:59:07.10265+00:00","affected":[{"ecosystem":"npm","name":"mime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.0.0"},{"kind":"fixed","version":"2.0.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"mime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.4.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2017-16138","https://github.com/broofa/node-mime/issues/167","https://github.com/broofa/mime/commit/1df903fdeb9ae7eaa048795b8d580ce2c98f40b0","https://github.com/broofa/mime/commit/855d0c4b8b22e4a80b9401a81f2872058eae274d","https://github.com/broofa/mime"],"sourceUrl":"https://github.com/advisories/GHSA-wrvr-8mpx-r7pp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-wrvr-8mpx-r7pp","identifiers":["GHSA-wrvr-8mpx-r7pp","CVE-2017-16138"]},"retained":false,"historicalAffected":[]}],"coverage":[]}