CVE-2021-44907 (High) detected in qs-6.5.2.tgz, qs-6.7.0.tgz #133
whitesource-bolt-for-github[bot] posted onGitHub
CVE-2021-44907 - High Severity Vulnerability
<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/vulnerability_details.png' width=19 height=20> Vulnerable Libraries - <b>qs-6.5.2.tgz</b>, <b>qs-6.7.0.tgz</b></p></summary> <p>
<details><summary><b>qs-6.5.2.tgz</b></p></summary>
<p>A querystring parser that supports nesting and arrays, with a depth limit</p> <p>Library home page: <a href="https://registry.npmjs.org/qs/-/qs-6.5.2.tgz">https://registry.npmjs.org/qs/-/qs-6.5.2.tgz</a></p> <p>Path to dependency file: /package.json</p> <p>Path to vulnerable library: /node_modules/qs/package.json</p> <p>
Dependency Hierarchy:
- vuepress-1.9.7.tgz (Root Library)
- theme-default-1.9.7.tgz
- docsearch.js-2.6.3.tgz
- request-2.88.2.tgz
- :x: qs-6.5.2.tgz (Vulnerable Library)
</details> <details><summary><b>qs-6.7.0.tgz</b></p></summary>
- :x: qs-6.5.2.tgz (Vulnerable Library)
- request-2.88.2.tgz
- docsearch.js-2.6.3.tgz
- theme-default-1.9.7.tgz
<p>A querystring parser that supports nesting and arrays, with a depth limit</p> <p>Library home page: <a href="https://registry.npmjs.org/qs/-/qs-6.7.0.tgz">https://registry.npmjs.org/qs/-/qs-6.7.0.tgz</a></p> <p>Path to dependency file: /package.json</p> <p>Path to vulnerable library: /node_modules/qs/package.json</p> <p>
Dependency Hierarchy:
- vuepress-1.9.7.tgz (Root Library)
- core-1.9.7.tgz
- webpack-dev-server-3.11.2.tgz
- express-4.17.1.tgz
- :x: qs-6.7.0.tgz (Vulnerable Library)
</details>
- :x: qs-6.7.0.tgz (Vulnerable Library)
- express-4.17.1.tgz
- webpack-dev-server-3.11.2.tgz
- core-1.9.7.tgz
<p>Found in HEAD commit: <a href="https://github.com/scriptex/github-pages-vuepress/commit/d08d4a3cbb9636400ca30cc23bedb30e0a76fedd">d08d4a3cbb9636400ca30cc23bedb30e0a76fedd</a></p> <p>Found in base branch: <b>master</b></p> </p> </details> <p></p> <details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/high_vul.png' width=19 height=20> Vulnerability Details</summary> <p>
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.
<p>Publish Date: 2022-03-17 <p>URL: <a href=https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-44907>CVE-2021-44907</a></p> </p> </details> <p></p> <details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/cvss3.png' width=19 height=20> CVSS 3 Score Details (<b>7.5</b>)</summary> <p>
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: High
</p> For more information on CVSS3 Scores, click <a href="https://www.first.org/cvss/calculator/3.0">here</a>. </p> </details> <p></p> <details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/suggested_fix.png' width=19 height=20> Suggested Fix</summary> <p>
<p>Type: Upgrade version</p> <p>Origin: <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44907">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44907</a></p> <p>Release Date: 2022-03-17</p> <p>Fix Resolution (qs): 6.8.1</p> <p>Direct dependency fix Resolution (vuepress): 2.0.0-alpha.1</p><p>Fix Resolution (qs): 6.8.1</p> <p>Direct dependency fix Resolution (vuepress): 2.0.0-alpha.1</p>
</p> </details> <p></p>
Step up your Open Source Security Game with WhiteSource here