loftwah/casualcoder.io

CVE-2021-23368 (Medium) detected in postcss-7.0.35.tgz - autoclosed

Closed this issue · 2 comments

CVE-2021-23368 - Medium Severity Vulnerability

Vulnerable Library - postcss-7.0.35.tgz

Tool for transforming styles with JS plugins

Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz

Path to dependency file: /wp-content/themes/twentytwenty/package.json

Path to vulnerable library: /wp-content/themes/twentytwenty/node_modules/postcss-safe-parser/node_modules/postcss/package.json,/wp-content/themes/twentytwenty/node_modules/postcss-sass/node_modules/postcss/package.json,/wp-content/themes/twentynineteen/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/postcss-sass/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/sugarss/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/stylelint/node_modules/postcss/package.json,/wp-content/themes/twentytwenty/node_modules/sugarss/node_modules/postcss/package.json,/wp-content/themes/twentytwenty/node_modules/stylelint/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/postcss-scss/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/postcss-safe-parser/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/postcss-focus-within/node_modules/postcss/package.json,/wp-content/themes/twentytwenty/node_modules/postcss-scss/node_modules/postcss/package.json,/wp-content/themes/twentytwenty/node_modules/postcss-less/node_modules/postcss/package.json,/wp-content/themes/twentytwentyone/node_modules/postcss-less/node_modules/postcss/package.json

Dependency Hierarchy:

  • autoprefixer-9.8.6.tgz (Root Library)
    • postcss-7.0.35.tgz (Vulnerable Library)

Found in HEAD commit: 14ae92bd92b84f61737b3ee22fa2cc32e9fbdf03

Found in base branch: main

Vulnerability Details

The package postcss from 7.0.0 and before 8.2.10 are vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.

Publish Date: 2021-04-12

URL: CVE-2021-23368

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-23368

Release Date: 2021-04-12

Fix Resolution (postcss): 7.0.36

Direct dependency fix Resolution (autoprefixer): 10.0.0


Step up your Open Source Security Game with WhiteSource here

ℹ️ This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #39

ℹ️ This issue was automatically closed by WhiteSource because it is a duplicate of an existing issue: #39