Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

WS-2019-0172 (Medium) detected in swagger-ui-2.1.4.tgz #38

Open
mend-bolt-for-github bot opened this issue Apr 25, 2020 · 0 comments
Open

WS-2019-0172 (Medium) detected in swagger-ui-2.1.4.tgz #38

mend-bolt-for-github bot opened this issue Apr 25, 2020 · 0 comments
Labels
security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Apr 25, 2020

WS-2019-0172 - Medium Severity Vulnerability

Vulnerable Library - swagger-ui-2.1.4.tgz

Swagger UI is a dependency-free collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API

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

Path to dependency file: /package.json

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

Dependency Hierarchy:

  • node-red-node-swagger-0.1.9.tgz (Root Library)
    • swagger-ui-2.1.4.tgz (Vulnerable Library)

Found in HEAD commit: a828769834f37b291096091f7d78329324424ce2

Vulnerability Details

swagger-ui before 3.20.9 fails to sanitize URLs used in the OAuth auth flow, which may allow attackers to execute arbitrary JavaScript. that leads to Cross-Site Scripting

Publish Date: 2019-02-23

URL: WS-2019-0172

CVSS 3 Score Details (6.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • 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: https://www.npmjs.com/advisories/976

Release Date: 2019-02-23

Fix Resolution: 3.20.9


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the security vulnerability Security vulnerability detected by WhiteSource label Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants