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

cssnano-4.1.0.tgz: 2 vulnerabilities (highest severity is: 9.8) #15

Open
mend-local-app bot opened this issue Oct 13, 2023 · 0 comments
Open

cssnano-4.1.0.tgz: 2 vulnerabilities (highest severity is: 9.8) #15

mend-local-app bot opened this issue Oct 13, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-local-app
Copy link

mend-local-app bot commented Oct 13, 2023

Vulnerable Library - cssnano-4.1.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/dot-prop/package.json

Found in HEAD commit: df030affe6fe3de4496f2f71d0bed6559686b108

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (cssnano version) Remediation Possible** Reachability
CVE-2020-8116 High 9.8 dot-prop-4.2.0.tgz Transitive N/A*
WS-2019-0032 Medium 5.0 js-yaml-3.10.0.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-8116

Vulnerable Library - dot-prop-4.2.0.tgz

Get, set, or delete a property from a nested object using a dot path

Library home page: https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/dot-prop/package.json

Dependency Hierarchy:

  • cssnano-4.1.0.tgz (Root Library)
    • cssnano-preset-default-4.0.0.tgz
      • postcss-merge-longhand-4.0.5.tgz
        • stylehacks-4.0.0.tgz
          • postcss-selector-parser-3.1.1.tgz
            • dot-prop-4.2.0.tgz (Vulnerable Library)

Found in HEAD commit: df030affe6fe3de4496f2f71d0bed6559686b108

Found in base branch: master

Vulnerability Details

Prototype pollution vulnerability in dot-prop npm package version 5.1.0 and earlier allows an attacker to add arbitrary properties to JavaScript language constructs such as objects.

Publish Date: 2020-02-04

URL: CVE-2020-8116

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8116

Release Date: 2020-02-04

Fix Resolution: dot-prop - 5.1.1

WS-2019-0032

Vulnerable Library - js-yaml-3.10.0.tgz

YAML 1.2 parser and serializer

Library home page: https://registry.npmjs.org/js-yaml/-/js-yaml-3.10.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/svgo/node_modules/js-yaml/package.json

Dependency Hierarchy:

  • cssnano-4.1.0.tgz (Root Library)
    • cssnano-preset-default-4.0.0.tgz
      • postcss-svgo-4.0.0.tgz
        • svgo-1.0.5.tgz
          • js-yaml-3.10.0.tgz (Vulnerable Library)

Found in HEAD commit: df030affe6fe3de4496f2f71d0bed6559686b108

Found in base branch: master

Vulnerability Details

Versions js-yaml prior to 3.13.0 are vulnerable to Denial of Service. By parsing a carefully-crafted YAML file, the node process stalls and may exhaust system resources leading to a Denial of Service.

Publish Date: 2019-03-20

URL: WS-2019-0032

CVSS 2 Score Details (5.0)

Base Score Metrics not available

Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/788/versions

Release Date: 2019-03-20

Fix Resolution: js-yaml - 3.13.0

@mend-local-app mend-local-app bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Oct 13, 2023
@mend-local-app mend-local-app bot changed the title cssnano-4.1.0.tgz: 2 vulnerabilities (highest severity is: 9.8) cssnano-4.1.0.tgz: 3 vulnerabilities (highest severity is: 9.8) Nov 15, 2023
@mend-local-app mend-local-app bot changed the title cssnano-4.1.0.tgz: 3 vulnerabilities (highest severity is: 9.8) cssnano-4.1.0.tgz: 2 vulnerabilities (highest severity is: 9.8) Nov 16, 2023
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 Mend
Projects
None yet
Development

No branches or pull requests

0 participants