Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-46708 (Medium) detected in swagger-ui-dist-3.25.0.tgz #285

Closed
mend-bolt-for-github bot opened this issue Mar 14, 2022 · 2 comments
Closed
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource Stale

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 14, 2022

CVE-2021-46708 - Medium Severity Vulnerability

Vulnerable Library - swagger-ui-dist-3.25.0.tgz

[![NPM version](https://badge.fury.io/js/swagger-ui-dist.svg)](http://badge.fury.io/js/swagger-ui-dist)

Library home page: https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.25.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/swagger-ui-dist/package.json

Dependency Hierarchy:

  • swagger-ui-express-4.1.3.tgz (Root Library)
    • swagger-ui-dist-3.25.0.tgz (Vulnerable Library)

Found in HEAD commit: 77ff18d7d50a1115dce65ed2ad6dd63af8059b63

Found in base branch: master

Vulnerability Details

The swagger-ui-dist package before 4.1.3 for Node.js could allow a remote attacker to hijack the clicking action of the victim. By persuading a victim to visit a malicious Web site, a remote attacker could exploit this vulnerability to hijack the victim's click actions and possibly launch further attacks against the victim.

Publish Date: 2022-03-11

URL: CVE-2021-46708

CVSS 3 Score Details (6.1)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: Low
    • Integrity Impact: Low
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6c9x-mj3g-h47x

Release Date: 2022-03-11

Fix Resolution (swagger-ui-dist): 4.1.3

Direct dependency fix Resolution (swagger-ui-express): 4.2.0


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 14, 2022
Copy link

github-actions bot commented Nov 4, 2023

This issue has been automatically marked as stale because it has not had recent activity. 📆 It will be closed automatically in one week if no further activity occurs.

@github-actions github-actions bot added the Stale label Nov 4, 2023
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource Stale
Projects
None yet
Development

No branches or pull requests

0 participants