jtimberlake / react-server

:rocket: Blazing fast page load and seamless navigation.
https://react-server.io/
Apache License 2.0
0 stars 0 forks source link

CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz, color-string-1.5.3.tgz #274

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2021-29060 - Medium Severity Vulnerability

Vulnerable Libraries - color-string-0.3.0.tgz, color-string-1.5.3.tgz

color-string-0.3.0.tgz

Parser and generator for CSS color strings

Library home page: https://registry.npmjs.org/color-string/-/color-string-0.3.0.tgz

Path to dependency file: /packages/react-server-examples/meteor-site/package.json

Path to vulnerable library: /packages/react-server-examples/meteor-site/node_modules/color-string/package.json,/packages/react-server-examples/code-splitting/node_modules/color-string/package.json,/packages/react-server-examples/bike-share/node_modules/color-string/package.json,/packages/react-server-examples/styled-components/node_modules/color-string/package.json,/packages/react-server-examples/redux-basic/node_modules/color-string/package.json,/packages/react-server-examples/hello-world/node_modules/color-string/package.json

Dependency Hierarchy: - react-server-cli-0.6.4.tgz (Root Library) - css-loader-0.26.4.tgz - cssnano-3.10.0.tgz - postcss-colormin-2.2.2.tgz - colormin-1.1.2.tgz - color-0.11.4.tgz - :x: **color-string-0.3.0.tgz** (Vulnerable Library)

color-string-1.5.3.tgz

Parser and generator for CSS color strings

Library home page: https://registry.npmjs.org/color-string/-/color-string-1.5.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/color-string/package.json

Dependency Hierarchy: - react-server-cli-1.0.0-alpha.2.tgz (Root Library) - optimize-css-assets-webpack-plugin-5.0.1.tgz - cssnano-4.1.10.tgz - cssnano-preset-default-4.0.7.tgz - postcss-colormin-4.0.3.tgz - color-3.1.1.tgz - :x: **color-string-1.5.3.tgz** (Vulnerable Library)

Found in HEAD commit: fc4f63cd9d7cfd34b5d6322a49f9b670bd83cb27

Found in base branch: master

Vulnerability Details

A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Color-String version 1.5.5 and below which occurs when the application is provided and checks a crafted invalid HWB string.

Publish Date: 2021-06-21

URL: CVE-2021-29060

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://github.com/advisories/GHSA-257v-vj4p-3w2h

Release Date: 2021-06-21

Fix Resolution: color-string - 1.5.5