Offensive-Sec / test-react

MIT License
0 stars 0 forks source link

requirejs-2.3.5.tgz: 2 vulnerabilities (highest severity is: 10.0) #62

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

mend-bolt-for-github[bot] commented 5 months ago
Vulnerable Library - requirejs-2.3.5.tgz

Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer

Library home page: https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz

Path to dependency file: /react-main/fixtures/packaging/rjs/dev/package.json

Path to vulnerable library: /react-main/fixtures/packaging/rjs/dev/package.json,/fixtures/packaging/rjs/dev/package.json,/react-main/fixtures/packaging/rjs/prod/package.json,/fixtures/packaging/rjs/prod/package.json

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (requirejs version) Remediation Possible**
CVE-2024-38999 Critical 10.0 requirejs-2.3.5.tgz Direct requirejs - 2.3.7
CVE-2024-38998 Critical 9.8 requirejs-2.3.5.tgz Direct N/A

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

Details

CVE-2024-38999 ### Vulnerable Library - requirejs-2.3.5.tgz

Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer

Library home page: https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz

Path to dependency file: /react-main/fixtures/packaging/rjs/dev/package.json

Path to vulnerable library: /react-main/fixtures/packaging/rjs/dev/package.json,/fixtures/packaging/rjs/dev/package.json,/react-main/fixtures/packaging/rjs/prod/package.json,/fixtures/packaging/rjs/prod/package.json

Dependency Hierarchy: - :x: **requirejs-2.3.5.tgz** (Vulnerable Library)

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Found in base branch: main

### Vulnerability Details

jrburke requirejs v2.3.6 was discovered to contain a prototype pollution via the function s.contexts._.configure. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Publish Date: 2024-07-01

URL: CVE-2024-38999

### CVSS 3 Score Details (10.0)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2024-07-01

Fix Resolution: requirejs - 2.3.7

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

Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer

Library home page: https://registry.npmjs.org/requirejs/-/requirejs-2.3.5.tgz

Path to dependency file: /react-main/fixtures/packaging/rjs/dev/package.json

Path to vulnerable library: /react-main/fixtures/packaging/rjs/dev/package.json,/fixtures/packaging/rjs/dev/package.json,/react-main/fixtures/packaging/rjs/prod/package.json,/fixtures/packaging/rjs/prod/package.json

Dependency Hierarchy: - :x: **requirejs-2.3.5.tgz** (Vulnerable Library)

Found in HEAD commit: f7127272769002f98a4adb752b5ccfbffdc43a03

Found in base branch: main

### Vulnerability Details

jrburke requirejs v2.3.6 was discovered to contain a prototype pollution via the function config. This vulnerability allows attackers to execute arbitrary code or cause a Denial of Service (DoS) via injecting arbitrary properties.

Publish Date: 2024-07-01

URL: CVE-2024-38998

### CVSS 3 Score Details (9.8)

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: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

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