YJSoft/nextworld

tailwindcss-2.0.0.tgz: 3 vulnerabilities (highest severity is: 7.5)

Opened this issue · 0 comments

Vulnerable Library - tailwindcss-2.0.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/postcss-functions/node_modules/postcss/package.json

Found in HEAD commit: e6bb75a02bdc1736d9bdac96043a42156c72da5b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (tailwindcss version) Remediation Possible**
CVE-2021-23382 High 7.5 detected in multiple dependencies Transitive 4.0.0-0
CVE-2021-23368 Medium 5.3 postcss-7.0.28.tgz Transitive 4.0.0-0
CVE-2021-23364 Medium 5.3 detected in multiple dependencies Transitive 2.1.0

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

Details

CVE-2021-23382

Vulnerable Libraries - postcss-7.0.28.tgz, postcss-6.0.23.tgz

postcss-7.0.28.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@fullhuman/postcss-purgecss/node_modules/postcss/package.json

Dependency Hierarchy:

  • tailwindcss-2.0.0.tgz (Root Library)
    • tailwindcss-1.4.6.tgz
      • postcss-purgecss-2.2.0.tgz
        • postcss-7.0.28.tgz (Vulnerable Library)

postcss-6.0.23.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/postcss-functions/node_modules/postcss/package.json

Dependency Hierarchy:

  • tailwindcss-2.0.0.tgz (Root Library)
    • tailwindcss-1.4.6.tgz
      • postcss-functions-3.0.0.tgz
        • postcss-6.0.23.tgz (Vulnerable Library)

Found in HEAD commit: e6bb75a02bdc1736d9bdac96043a42156c72da5b

Found in base branch: master

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 (7.5)

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

Release Date: 2021-04-26

Fix Resolution (postcss): 7.0.36

Direct dependency fix Resolution (@nuxtjs/tailwindcss): 4.0.0-0

Fix Resolution (postcss): 7.0.36

Direct dependency fix Resolution (@nuxtjs/tailwindcss): 4.0.0-0

Step up your Open Source Security Game with Mend here

CVE-2021-23368

Vulnerable Library - postcss-7.0.28.tgz

Tool for transforming styles with JS plugins

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

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@fullhuman/postcss-purgecss/node_modules/postcss/package.json

Dependency Hierarchy:

  • tailwindcss-2.0.0.tgz (Root Library)
    • tailwindcss-1.4.6.tgz
      • postcss-purgecss-2.2.0.tgz
        • postcss-7.0.28.tgz (Vulnerable Library)

Found in HEAD commit: e6bb75a02bdc1736d9bdac96043a42156c72da5b

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): 7.0.36

Direct dependency fix Resolution (@nuxtjs/tailwindcss): 4.0.0-0

Step up your Open Source Security Game with Mend here

CVE-2021-23364

Vulnerable Libraries - browserslist-4.8.0.tgz, browserslist-4.12.0.tgz

browserslist-4.8.0.tgz

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset

Library home page: https://registry.npmjs.org/browserslist/-/browserslist-4.8.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/browserslist/package.json

Dependency Hierarchy:

  • tailwindcss-2.0.0.tgz (Root Library)
    • tailwindcss-1.4.6.tgz
      • autoprefixer-9.7.3.tgz
        • browserslist-4.8.0.tgz (Vulnerable Library)

browserslist-4.12.0.tgz

Share target browsers between different front-end tools, like Autoprefixer, Stylelint and babel-env-preset

Library home page: https://registry.npmjs.org/browserslist/-/browserslist-4.12.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/browserslist/package.json

Dependency Hierarchy:

  • tailwindcss-2.0.0.tgz (Root Library)
    • tailwindcss-1.4.6.tgz
      • browserslist-4.12.0.tgz (Vulnerable Library)

Found in HEAD commit: e6bb75a02bdc1736d9bdac96043a42156c72da5b

Found in base branch: master

Vulnerability Details

The package browserslist from 4.0.0 and before 4.16.5 are vulnerable to Regular Expression Denial of Service (ReDoS) during parsing of queries.

Publish Date: 2021-04-28

URL: CVE-2021-23364

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

Release Date: 2021-04-28

Fix Resolution (browserslist): 4.16.5

Direct dependency fix Resolution (@nuxtjs/tailwindcss): 2.1.0

Fix Resolution (browserslist): 4.16.5

Direct dependency fix Resolution (@nuxtjs/tailwindcss): 2.1.0

Step up your Open Source Security Game with Mend here