AlexRogalskiy / github-action-json-fields

🏺 GitHub action to filter JSON fields

Home Page:https://github.com/marketplace/actions/json-fields

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2021-3795 (High) detected in semver-regex-3.1.2.tgz

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

CVE-2021-3795 - High Severity Vulnerability

Vulnerable Library - semver-regex-3.1.2.tgz

Regular expression for matching semver versions

Library home page: https://registry.npmjs.org/semver-regex/-/semver-regex-3.1.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/semver-regex/package.json

Dependency Hierarchy:

  • semantic-release-17.3.9.tgz (Root Library)
    • find-versions-4.0.0.tgz
      • semver-regex-3.1.2.tgz (Vulnerable Library)

Found in HEAD commit: 098c1260f82eac219b7248722a4496f6f016fd4f

Found in base branch: master

Vulnerability Details

semver-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-15

URL: CVE-2021-3795

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

Release Date: 2021-09-15

Fix Resolution (semver-regex): 3.1.3

Direct dependency fix Resolution (semantic-release): 17.4.0


Step up your Open Source Security Game with Mend here

👋 Thanks for reporting!