logo

NPM-WHATWG-MIMETYPE-20170907 whatwg-mimetype

Package

Manager: npm
Name: whatwg-mimetype
Vulnerable Version: >=0 <2.0.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the user agent parser. It used a regular expression in order to parse user agents. This can cause a very moderate impact of about 4 seconds matching time for data 30k characters long.

Metadata

Created:
Modified:
Source: MANUAL
CWE IDs: ["CWE-400"]
Alternative ID: N/A
Finding: F002
Auto approve: 1