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-23368 (Medium) detected in postcss-7.0.35.tgz, postcss-7.0.14.tgz #39

Open
mend-for-github-com bot opened this issue Aug 11, 2021 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link
Contributor

CVE-2021-23368 - Medium Severity Vulnerability

Vulnerable Libraries - postcss-7.0.35.tgz, postcss-7.0.14.tgz

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

Path to vulnerable library: mariadb/client/node_modules/postcss/package.json

Dependency Hierarchy:

  • react-scripts-3.2.0.tgz (Root Library)
    • css-loader-2.1.1.tgz
      • postcss-7.0.35.tgz (Vulnerable Library)
postcss-7.0.14.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: mariadb/client/package.json

Path to vulnerable library: mariadb/client/node_modules/resolve-url-loader/node_modules/postcss/package.json

Dependency Hierarchy:

  • react-scripts-3.2.0.tgz (Root Library)
    • resolve-url-loader-3.1.0.tgz
      • postcss-7.0.14.tgz (Vulnerable Library)

Found in HEAD commit: 829536201bf7ff538ab520b02791b3d6bc3368bb

Found in base branch: master

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

@mend-for-github-com mend-for-github-com bot added the security vulnerability Security vulnerability detected by WhiteSource label Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants