HIGH 7.5
CVE-2017-16138
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.
Recommendation
Update to version 2.0.3 or later.
Affected Maven artifacts (3)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » mimevia npm mime | < 1.4.1>= 2.0.0, < 2.0.3 | 1.4.1, 2.0.3 |
| org.webjars » mimevia npm mime | < 1.4.1>= 2.0.0, < 2.0.3 | 1.4.1, 2.0.3 |
| org.webjars.npm » mimevia npm mime | < 1.4.1>= 2.0.0, < 2.0.3 | 1.4.1, 2.0.3 |
Blast radius
3affected artifacts
9affected versions
27dependent artifacts (est.)
58dependent versions
62% of the dependent artifacts (17) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 17 |
| 2 hops | 18 |
| 3 hops | 9 |
| 4 hops | 4 |
| 5 hops | 8 |
| 6 hops | 2 |
Most used dependents
- org.webjars.npm » express38 usages
- org.webjars.npm » form-data21 usages
- org.webjars.npm » superagent17 usages
- org.webjars.npm » connect14 usages
- org.webjars.npm » serve-static8 usages
- org.webjars.npm » browser-sync7 usages
- org.webjars.npm » send6 usages
- org.webjars.npm » openlayers4 usages
- org.webjars » bin-build4 usages
- org.webjars » bin-wrapper4 usages
- org.mvnpm » superagent3 usages
- org.webjars.npm » closure-util2 usages
- org.webjars » download2 usages
- org.webjars » imagemin-gifsicle1 usages
- org.webjars » imagemin-jpegtran1 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
Other ecosystems
Also affects npm (1 package) . See all on OSV
References
| Advisory | NVD CVE-2017-16138 | nvd.nist.gov |
| Package | broofa/mime | github.com |
| Web | broofa/node-mime issue #167 | github.com |
| Web | broofa/mime commit 1df903f | github.com |
| Web | broofa/mime commit 855d0c4 | github.com |
