Soontao / presentations

presentations
https://presentations.netlify.fornever.org
The Unlicense
3 stars 3 forks source link

audit-logging-5.8.4.tgz: 2 vulnerabilities (highest severity is: 7.5) #335

Open mend-bolt-for-github[bot] opened 5 months ago

mend-bolt-for-github[bot] commented 5 months ago
Vulnerable Library - audit-logging-5.8.4.tgz

Path to dependency file: /src/node/cap-training/session-6-example/cap-02/package.json

Path to vulnerable library: /src/node/cap-training/session-6-example/cap-02/node_modules/@sap/audit-logging/node_modules/follow-redirects/package.json

Found in HEAD commit: dc1c6dde6f8dc2d3e77029c32e32bd376dca6f3b

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (audit-logging version) Remediation Possible**
CVE-2024-39338 High 7.5 axios-1.6.5.tgz Transitive N/A*
CVE-2024-28849 Medium 6.5 follow-redirects-1.15.4.tgz Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-39338 ### Vulnerable Library - axios-1.6.5.tgz

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

Path to dependency file: /src/node/cap-training/session-6-example/cap-02/package.json

Path to vulnerable library: /src/node/cap-training/session-6-example/cap-02/node_modules/@sap/audit-logging/node_modules/axios/package.json

Dependency Hierarchy: - audit-logging-5.8.4.tgz (Root Library) - xssec-3.6.1.tgz - :x: **axios-1.6.5.tgz** (Vulnerable Library)

Found in HEAD commit: dc1c6dde6f8dc2d3e77029c32e32bd376dca6f3b

Found in base branch: main

### Vulnerability Details

axios 1.7.2 allows SSRF via unexpected behavior where requests for path relative URLs get processed as protocol relative URLs.

Publish Date: 2024-08-09

URL: CVE-2024-39338

### 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: High - 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-8hc4-vh64-cxmj

Release Date: 2024-08-09

Fix Resolution: axios - 1.7.4

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-28849 ### Vulnerable Library - follow-redirects-1.15.4.tgz

Library home page: https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.4.tgz

Path to dependency file: /src/node/cap-training/session-6-example/cap-02/package.json

Path to vulnerable library: /src/node/cap-training/session-6-example/cap-02/node_modules/@sap/audit-logging/node_modules/follow-redirects/package.json

Dependency Hierarchy: - audit-logging-5.8.4.tgz (Root Library) - xssec-3.6.1.tgz - axios-1.6.5.tgz - :x: **follow-redirects-1.15.4.tgz** (Vulnerable Library)

Found in HEAD commit: dc1c6dde6f8dc2d3e77029c32e32bd376dca6f3b

Found in base branch: main

### Vulnerability Details

follow-redirects is an open source, drop-in replacement for Node's `http` and `https` modules that automatically follows redirects. In affected versions follow-redirects only clears authorization header during cross-domain redirect, but keep the proxy-authentication header which contains credentials too. This vulnerability may lead to credentials leak, but has been addressed in version 1.15.6. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Publish Date: 2024-03-14

URL: CVE-2024-28849

### CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/follow-redirects/follow-redirects/security/advisories/GHSA-cxjh-pqwp-8mfp

Release Date: 2024-03-14

Fix Resolution: follow-redirects - 1.15.6

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)