Description
The mime module < 1.4.1, 2.0.1, 2.0.2 is vulnerable to regular expression denial of service when a mime lookup is performed on untrusted user input.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| HackerOne | mime node module | < 1.4.1 || > 2.0.0 < 2.0.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-mime | 2.3.1-1 | — |
| Debian 13 | node-mime | 2.3.1-1 | — |
| Debian 12 | node-mime | 2.3.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | node-mime | No fix yet | — |
| Ubuntu 16.04 LTS | node-mime | No fix yet | — |
| Ubuntu 14.04 LTS | node-mime | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | mime | >= 2.0.0, < 2.0.3 | 2.0.3 | GHSA-wrvr-8mpx-r7pp |
| npm | mime | < 1.4.1 | 1.4.1 | GHSA-wrvr-8mpx-r7pp |