scriptex/github-pages-vuepress

CVE-2021-33502 (High) detected in normalize-url-2.0.1.tgz, normalize-url-3.3.0.tgz #99

whitesource-bolt-for-github[bot] posted onGitHub

CVE-2021-33502 - High Severity Vulnerability

<details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/vulnerability_details.png&#39; width=19 height=20> Vulnerable Libraries - <b>normalize-url-2.0.1.tgz</b>, <b>normalize-url-3.3.0.tgz</b></p></summary> <p>

<details><summary><b>normalize-url-2.0.1.tgz</b></p></summary>

<p>Normalize a URL</p> <p>Library home page: <a href="https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz">https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz</a></p> <p>Path to dependency file: github-pages-vuepress/package.json</p> <p>Path to vulnerable library: github-pages-vuepress/node_modules/normalize-url</p> <p>

Dependency Hierarchy:

  • vuepress-1.8.2.tgz (Root Library)
    • core-1.8.2.tgz
      • mini-css-extract-plugin-0.6.0.tgz
        • :x: normalize-url-2.0.1.tgz (Vulnerable Library)

          </details> <details><summary><b>normalize-url-3.3.0.tgz</b></p></summary>

<p>Normalize a URL</p> <p>Library home page: <a href="https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz">https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz</a></p> <p>Path to dependency file: github-pages-vuepress/package.json</p> <p>Path to vulnerable library: github-pages-vuepress/node_modules/normalize-url</p> <p>

Dependency Hierarchy:

  • vuepress-1.8.2.tgz (Root Library)
    • core-1.8.2.tgz
      • optimize-css-assets-webpack-plugin-5.0.6.tgz
        • cssnano-4.1.11.tgz
          • cssnano-preset-default-4.0.8.tgz
            • postcss-normalize-url-4.0.1.tgz
              • :x: normalize-url-3.3.0.tgz (Vulnerable Library)

                </details>

<p>Found in HEAD commit: <a href="https://github.com/scriptex/github-pages-vuepress/commit/ee9d9456eef080a4e4918f8c8b318415c8bc5016">ee9d9456eef080a4e4918f8c8b318415c8bc5016</a></p> <p>Found in base branch: <b>master</b></p> </p> </details> <p></p> <details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/high_vul.png&#39; width=19 height=20> Vulnerability Details</summary> <p>

The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

<p>Publish Date: 2021-05-24 <p>URL: <a href=https://vuln.whitesourcesoftware.com/vulnerability/CVE-2021-33502>CVE-2021-33502</a></p> </p> </details> <p></p> <details><summary><img src='https://whitesource-resources.whitesourcesoftware.com/cvss3.png&#39; width=19 height=20> CVSS 3 Score Details (<b>7.5</b>)</summary> <p>

Base Score Metrics:

<p>Type: Upgrade version</p> <p>Origin: <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33502">https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33502</a></p> <p>Release Date: 2021-05-24</p> <p>Fix Resolution: normalize-url - 4.5.1, 5.3.1, 6.0.1</p>

</p> </details> <p></p>


Step up your Open Source Security Game with WhiteSource here


Fund this Issue

$0.00
Funded

Pull requests