kxxt / kxxt-website

My personal website powered by gatsby, hosted on vercel.

Home Page:https://www.kxxt.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-25858 (Medium) detected in terser-5.10.0.tgz, terser-5.12.0.tgz - autoclosed

mend-bolt-for-github opened this issue · comments

CVE-2022-25858 - Medium Severity Vulnerability

Vulnerable Libraries - terser-5.10.0.tgz, terser-5.12.0.tgz

terser-5.10.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-5.10.0.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • gatsby-4.18.0.tgz (Root Library)
    • terser-webpack-plugin-5.3.0.tgz
      • terser-5.10.0.tgz (Vulnerable Library)
terser-5.12.0.tgz

JavaScript parser, mangler/compressor and beautifier toolkit for ES6+

Library home page: https://registry.npmjs.org/terser/-/terser-5.12.0.tgz

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • gatsby-4.18.0.tgz (Root Library)
    • gatsby-parcel-config-0.9.0.tgz
      • optimizer-terser-2.6.0.tgz
        • terser-5.12.0.tgz (Vulnerable Library)

Found in HEAD commit: 37f8543da5164a1a7ef318756aa0eac1c5e89a09

Found in base branch: master

Vulnerability Details

The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.

Publish Date: 2022-07-15

URL: CVE-2022-25858

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-2022-25858

Release Date: 2022-07-15

Fix Resolution: terser - 4.8.1,5.14.2


Step up your Open Source Security Game with Mend here

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.