SebastianDarie / reddit-clone

https://reddit-clone.tech
1 stars 0 forks source link

CVE-2021-23364 (Medium) detected in browserslist-4.16.3.tgz, browserslist-4.16.1.tgz - autoclosed #36

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-23364 - Medium Severity Vulnerability

Vulnerable Libraries - browserslist-4.16.3.tgz, browserslist-4.16.1.tgz

browserslist-4.16.3.tgz

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset

Library home page: https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/node_modules/browserslist/package.json

Dependency Hierarchy: - typescript-react-apollo-2.2.3.tgz (Root Library) - visitor-plugin-common-1.19.1.tgz - relay-operation-optimizer-6.3.0.tgz - relay-compiler-10.1.0.tgz - babel-preset-fbjs-3.3.0.tgz - plugin-proposal-object-rest-spread-7.13.8.tgz - helper-compilation-targets-7.13.13.tgz - :x: **browserslist-4.16.3.tgz** (Vulnerable Library)

browserslist-4.16.1.tgz

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset

Library home page: https://registry.npmjs.org/browserslist/-/browserslist-4.16.1.tgz

Path to dependency file: /client/package.json

Path to vulnerable library: /client/node_modules/browserslist/package.json

Dependency Hierarchy: - next-10.1.3.tgz (Root Library) - :x: **browserslist-4.16.1.tgz** (Vulnerable Library)

Found in HEAD commit: f0e57d7bd93c43efa485ecd5be4d97e3d3b5a5c3

Found in base branch: main

Vulnerability Details

The package browserslist from 4.0.0 and before 4.16.5 are vulnerable to Regular Expression Denial of Service (ReDoS) during parsing of queries.

Publish Date: 2021-04-28

URL: CVE-2021-23364

CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23364

Release Date: 2021-04-28

Fix Resolution (browserslist): 4.16.5

Direct dependency fix Resolution (@graphql-codegen/typescript-react-apollo): 2.2.4

Fix Resolution (browserslist): 4.16.5

Direct dependency fix Resolution (next): 10.2.1-canary.9


Step up your Open Source Security Game with WhiteSource here

mend-bolt-for-github[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

mend-bolt-for-github[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.