scriptex/rollup-mpa

CVE-2021-3803 (Medium) detected in nth-check-2.0.0.tgz, nth-check-1.0.2.tgz

Closed this issue · 0 comments

CVE-2021-3803 - Medium Severity Vulnerability

Vulnerable Libraries - nth-check-2.0.0.tgz, nth-check-1.0.2.tgz

nth-check-2.0.0.tgz

Parses and compiles CSS nth-checks to highly optimized functions.

Library home page: https://registry.npmjs.org/nth-check/-/nth-check-2.0.0.tgz

Path to dependency file: rollup-mpa/package.json

Path to vulnerable library: rollup-mpa/node_modules/nth-check/package.json

Dependency Hierarchy:

  • rollup-plugin-postcss-4.0.1.tgz (Root Library)
    • cssnano-5.0.7.tgz
      • cssnano-preset-default-5.1.3.tgz
        • postcss-svgo-5.0.2.tgz
          • svgo-2.3.1.tgz
            • css-select-4.1.3.tgz
              • nth-check-2.0.0.tgz (Vulnerable Library)
nth-check-1.0.2.tgz

performant nth-check parser & compiler

Library home page: https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz

Path to dependency file: rollup-mpa/package.json

Path to vulnerable library: rollup-mpa/node_modules/nth-check/package.json

Dependency Hierarchy:

  • critical-4.0.1.tgz (Root Library)
    • oust-1.2.0.tgz
      • cheerio-0.22.0.tgz
        • css-select-1.2.0.tgz
          • nth-check-1.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 833d9e399175dc483c8cb2305f91f429e0b23f9c

Vulnerability Details

nth-check is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3803

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: N/A
    • Attack Complexity: N/A
    • Privileges Required: N/A
    • User Interaction: N/A
    • Scope: N/A
  • Impact Metrics:
    • Confidentiality Impact: N/A
    • Integrity Impact: N/A
    • Availability Impact: N/A

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: fb55/nth-check@v2.0.0...v2.0.1

Release Date: 2021-09-17

Fix Resolution: nth-check - v2.0.1


Step up your Open Source Security Game with WhiteSource here