yodoko / serverless-full-stack-apps-azure-sql

Full stack solution using Vue.js, Azure Static Web Apps, Azure Function, Azure SQL Database and a microservice architecture to monitor in real-time public transportation data, create a geofence and send notification when geofence is activated
MIT License
0 stars 0 forks source link

WS-2023-0439 (High) detected in axios-0.21.4.tgz #72

Open mend-bolt-for-github[bot] opened 1 week ago

mend-bolt-for-github[bot] commented 1 week ago

WS-2023-0439 - High Severity Vulnerability

Vulnerable Library - axios-0.21.4.tgz

Promise based HTTP client for the browser and node.js

Library home page: https://registry.npmjs.org/axios/-/axios-0.21.4.tgz

Path to dependency file: /azure-static-web-app/api/node/package.json

Path to vulnerable library: /azure-static-web-app/api/node/node_modules/axios/package.json,/azure-function/node/node_modules/axios/package.json

Dependency Hierarchy: - mssql-6.3.1.tgz (Root Library) - tedious-6.7.0.tgz - ms-rest-nodeauth-2.0.2.tgz - ms-rest-js-1.11.2.tgz - :x: **axios-0.21.4.tgz** (Vulnerable Library)

Found in HEAD commit: 43865d4f6b2ee0eeedf98bd8edb8aff4c6e1a637

Found in base branch: main

Vulnerability Details

Axios is vulnerable to Regular Expression Denial of Service (ReDoS). When a manipulated string is provided as input to the format method, the regular expression exhibits a time complexity of O(n^2). Server becomes unable to provide normal service due to the excessive cost and time wasted in processing vulnerable regular expressions.

Publish Date: 2023-10-25

URL: WS-2023-0439

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://nvd.nist.gov/vuln/detail/WS-2023-0439

Release Date: 2023-10-25

Fix Resolution (axios): 1.6.3

Direct dependency fix Resolution (mssql): 8.0.0


Step up your Open Source Security Game with Mend here