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

swagger-ui-express-4.1.4.tgz: 2 vulnerabilities (highest severity is: 6.1) #1899

Open
mend-bolt-for-github bot opened this issue Feb 19, 2022 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource wontfix This will not be worked on

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 19, 2022

Vulnerable Library - swagger-ui-express-4.1.4.tgz

Path to dependency file: /components/discovery/yarn.lock

Path to vulnerable library: /components/discovery/yarn.lock

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (swagger-ui-express version) Remediation Available
CVE-2021-46708 Medium 6.1 swagger-ui-dist-3.35.1.tgz Transitive 4.2.0
CVE-2018-25031 Medium 4.3 swagger-ui-dist-3.35.1.tgz Transitive 4.2.0

Details

CVE-2021-46708

Vulnerable Library - swagger-ui-dist-3.35.1.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.35.1.tgz

Path to dependency file: /components/discovery/yarn.lock

Path to vulnerable library: /components/discovery/yarn.lock

Dependency Hierarchy:

  • swagger-ui-express-4.1.4.tgz (Root Library)
    • swagger-ui-dist-3.35.1.tgz (Vulnerable Library)

Found in base branch: main

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

CVE-2018-25031

Vulnerable Library - swagger-ui-dist-3.35.1.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.35.1.tgz

Path to dependency file: /components/discovery/yarn.lock

Path to vulnerable library: /components/discovery/yarn.lock

Dependency Hierarchy:

  • swagger-ui-express-4.1.4.tgz (Root Library)
    • swagger-ui-dist-3.35.1.tgz (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Swagger UI before 4.1.3 could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions.

Publish Date: 2022-03-11

URL: CVE-2018-25031

CVSS 3 Score Details (4.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-qrmm-w75w-3wpx

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 Feb 19, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title swagger-ui-express-4.1.4.tgz: 1 vulnerabilities (highest severity is: 6.1) swagger-ui-express-4.1.4.tgz: 3 vulnerabilities (highest severity is: 6.1) Mar 14, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title swagger-ui-express-4.1.4.tgz: 3 vulnerabilities (highest severity is: 6.1) swagger-ui-express-4.1.4.tgz: 2 vulnerabilities (highest severity is: 6.1) Mar 21, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title swagger-ui-express-4.1.4.tgz: 2 vulnerabilities (highest severity is: 6.1) swagger-ui-express-4.1.4.tgz: 3 vulnerabilities (highest severity is: 6.1) Apr 28, 2022
@stale
Copy link

stale bot commented Oct 1, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 1, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title swagger-ui-express-4.1.4.tgz: 3 vulnerabilities (highest severity is: 6.1) swagger-ui-express-4.1.4.tgz: 2 vulnerabilities (highest severity is: 6.1) Dec 23, 2022
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 wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

0 participants