vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2021-29060 (Medium) detected in color-string-1.5.4.tgz #108

Open mend-bolt-for-github[bot] opened 2 years ago

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

CVE-2021-29060 - Medium Severity Vulnerability

Vulnerable Library - color-string-1.5.4.tgz

Parser and generator for CSS color strings

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

Path to dependency file: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/color-string/package.json,/utility-emissions-channel/docker-compose-setup/node_modules/color-string/package.json

Dependency Hierarchy: - serverless-s3-local-0.6.7.tgz (Root Library) - s3rver-3.6.1.tgz - winston-3.3.3.tgz - diagnostics-2.0.2.tgz - colorspace-1.1.2.tgz - color-3.0.0.tgz - :x: **color-string-1.5.4.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

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

Direct dependency fix Resolution (serverless-s3-local): 0.6.8


Step up your Open Source Security Game with Mend here