Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mend-bolt-for-github bot opened this issue Jun 30, 2021 · 2 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Jun 30, 2021

CVE-2021-29060 - Medium Severity Vulnerability

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

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: /cezerin/package.json

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

Dependency Hierarchy:

  • cssnano-4.1.0.tgz (Root Library)
    • cssnano-preset-default-4.0.0.tgz
      • postcss-colormin-4.0.1.tgz
        • color-3.0.0.tgz
          • color-string-1.5.3.tgz (Vulnerable Library)
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: /cezerin/package.json

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

Dependency Hierarchy:

  • winston-3.0.0.tgz (Root Library)
    • diagnostics-1.1.0.tgz
      • colorspace-1.0.1.tgz
        • color-0.8.0.tgz
          • color-string-0.3.0.tgz (Vulnerable Library)

Found in HEAD commit: 4a2a77e50386f8e48601b484ee370ac126d1250d

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: GHSA-257v-vj4p-3w2h

Release Date: 2021-06-21

Fix Resolution (color-string): 1.5.5

Direct dependency fix Resolution (cssnano): 4.1.1

Fix Resolution (color-string): 1.5.5

Direct dependency fix Resolution (winston): 3.0.1


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jun 30, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (High) detected in color-string-0.3.0.tgz CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz, color-string-1.5.3.tgz Aug 11, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz, color-string-1.5.3.tgz CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz Sep 22, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz, color-string-1.5.3.tgz Nov 10, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz, color-string-1.5.3.tgz CVE-2021-29060 (Medium) detected in color-string-1.5.3.tgz Apr 12, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-1.5.3.tgz CVE-2021-29060 (Medium) detected in color-string-1.5.3.tgz - autoclosed Apr 26, 2022
@mend-bolt-for-github
Copy link
Author

✔️ 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
Copy link
Author

ℹ️ This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-1.5.3.tgz - autoclosed CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz Jan 6, 2023
@mend-bolt-for-github mend-bolt-for-github bot reopened this Jan 6, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-29060 (Medium) detected in color-string-0.3.0.tgz CVE-2021-29060 (Medium) detected in color-string-1.5.3.tgz, color-string-0.3.0.tgz Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants