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-2018-25031 (Medium) detected in swagger-ui-dist-3.35.1.tgz #171

Open
1 task
mend-for-github-com bot opened this issue May 19, 2024 · 0 comments
Open
1 task
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented May 19, 2024

CVE-2018-25031 - Medium Severity Vulnerability

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: /packages/core/package.json

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

Dependency Hierarchy:

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

Found in HEAD commit: 40c2bf435e91fe54575f47a7d13aef79ce92ae42

Found in base branch: master

Vulnerability Details

Swagger UI 4.1.2 and earlier 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. Note: This was originally claimed to be resolved in 4.1.3. However, third parties have indicated this is not resolved in 4.1.3 and even occurs in that version and possibly others.
Mend Note: Converted from WS-2021-0461, on 2022-12-21.

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


  • Check this box to open an automated fix PR
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
Projects
None yet
Development

No branches or pull requests

0 participants