-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
CVE-2021-44907 - Low Severity Vulnerability
Vulnerable Libraries - qs-6.10.3.tgz, qs-6.5.2.tgz
qs-6.10.3.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.10.3.tgz
Dependency Hierarchy:
- grunt-contrib-watch-1.1.0.tgz (Root Library)
- tiny-lr-1.1.1.tgz
- ❌ qs-6.10.3.tgz (Vulnerable Library)
- tiny-lr-1.1.1.tgz
qs-6.5.2.tgz
A querystring parser that supports nesting and arrays, with a depth limit
Library home page: https://registry.npmjs.org/qs/-/qs-6.5.2.tgz
Dependency Hierarchy:
- re2-1.15.4.tgz (Root Library)
- node-gyp-7.0.0.tgz
- request-2.88.2.tgz
- ❌ qs-6.5.2.tgz (Vulnerable Library)
- request-2.88.2.tgz
- node-gyp-7.0.0.tgz
Found in HEAD commit: 6b66b115cbd108473c249589a334a847710b49ef
Found in base branch: main
Vulnerability Details
A Denial of Service vulnerability exists in qs up to 6.8.0 due to insufficient sanitization of property in the gs.parse function. The merge() function allows the assignment of properties on an array in the query. For any property being assigned, a value in the array is converted to an object containing these properties. Essentially, this means that the property whose expected type is Array always has to be checked with Array.isArray() by the user. This may not be obvious to the user and can cause unexpected behavior.
Publish Date: 2022-03-17
URL: CVE-2021-44907
CVSS 3 Score Details (3.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44907
Release Date: 2022-03-17
Fix Resolution (qs): 6.8.1
Direct dependency fix Resolution (re2): 1.16.0