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-23382 (Medium) detected in postcss-5.2.18.tgz - autoclosed #89

Closed
mend-bolt-for-github bot opened this issue Jul 8, 2021 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Milestone

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jul 8, 2021

CVE-2021-23382 - Medium Severity Vulnerability

Vulnerable Library - postcss-5.2.18.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/postcss-object-fit-images/node_modules/postcss/package.json

Dependency Hierarchy:

  • 10up-toolkit-2.1.1.tgz (Root Library)
    • postcss-object-fit-images-1.1.2.tgz
      • postcss-5.2.18.tgz (Vulnerable Library)

Found in HEAD commit: f53708b0035f054189b00c3ec0de1de8c8799b41

Found in base branch: develop

Vulnerability Details

The package postcss before 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern /*\s* sourceMappingURL=(.*).

Publish Date: 2021-04-26

URL: CVE-2021-23382

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

Release Date: 2021-04-26

Fix Resolution: postcss - 8.2.13


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jul 8, 2021
@jeffpaul jeffpaul mentioned this issue Jul 8, 2021
6 tasks
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-23382 (Medium) detected in postcss-7.0.35.tgz, postcss-8.2.8.tgz CVE-2021-23382 (Medium) detected in postcss-6.0.23.tgz, postcss-5.2.18.tgz Jul 9, 2021
@jeffpaul jeffpaul added this to the Future Release milestone Jul 9, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-23382 (Medium) detected in postcss-6.0.23.tgz, postcss-5.2.18.tgz CVE-2021-23382 (Medium) detected in postcss-5.2.18.tgz Oct 11, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-23382 (Medium) detected in postcss-5.2.18.tgz CVE-2021-23382 (Medium) detected in postcss-5.2.18.tgz - autoclosed Mar 3, 2022
@mend-bolt-for-github
Copy link
Contributor 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.

@jeffpaul jeffpaul modified the milestones: Future Release, 1.0.11 Mar 3, 2022
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

1 participant