souro1212 / JSON-XML-things

Validate , format and convert JSON & XML locally
https://json-xml-things.souradip.in/
MIT License
1 stars 0 forks source link

CVE-2018-25031 (Medium) detected in swagger-ui-3.49.0.js, swagger-ui-bundle-3.49.0.js #11

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2018-25031 - Medium Severity Vulnerability

Vulnerable Libraries - swagger-ui-3.49.0.js, swagger-ui-bundle-3.49.0.js

swagger-ui-3.49.0.js

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://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.49.0/swagger-ui.js

Path to vulnerable library: /swaggerui/swagger-ui.js

Dependency Hierarchy: - :x: **swagger-ui-3.49.0.js** (Vulnerable Library)

swagger-ui-bundle-3.49.0.js

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://cdnjs.cloudflare.com/ajax/libs/swagger-ui/3.49.0/swagger-ui-bundle.js

Path to dependency file: /swaggerui/index.html

Path to vulnerable library: /swaggerui/swagger-ui-bundle.js,/swaggerui/./swagger-ui-bundle.js

Dependency Hierarchy: - :x: **swagger-ui-bundle-3.49.0.js** (Vulnerable Library)

Found in base branch: main

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: https://github.com/advisories/GHSA-qrmm-w75w-3wpx

Release Date: 2022-03-11

Fix Resolution: swagger-ui - 4.1.3;swagger-ui-dist - 4.1.3


Step up your Open Source Security Game with Mend here

secure-code-warrior-for-github[bot] commented 1 year ago

Micro-Learning Topic: Vulnerable library (Detected by phrase)

Matched on "Vulnerable Libraries"

What is this? (2min video)

Use of vulnerable components will introduce weaknesses into the application. Components with published vulnerabilities will allow easy exploitation as resources will often be available to automate the process.

Try a challenge in Secure Code Warrior