joshrup / WebGoat-LVP

Other
0 stars 0 forks source link

moment-1.0.1.tgz: 2 vulnerabilities (highest severity is: 8.7) unreachable #23

Open mend-for-github-com[bot] opened 4 months ago

mend-for-github-com[bot] commented 4 months ago
Vulnerable Library - moment-1.0.1.tgz

Moment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.

Library home page: https://registry.npmjs.org/moment/-/moment-1.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/moment/package.json

Found in HEAD commit: 3aac8b3b9a7238edfdf17bc3cb8a3f71c633dfa6

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (moment version) Remediation Possible** Reachability
CVE-2017-18214 High 8.7 Not Defined 0.2% moment-1.0.1.tgz Direct 2.19.3

Unreachable

CVE-2016-4055 High 7.1 Not Defined 0.8% moment-1.0.1.tgz Direct 2.11.2

Unreachable

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

Details

CVE-2017-18214 ### Vulnerable Library - moment-1.0.1.tgz

Moment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.

Library home page: https://registry.npmjs.org/moment/-/moment-1.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/moment/package.json

Dependency Hierarchy: - :x: **moment-1.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 3aac8b3b9a7238edfdf17bc3cb8a3f71c633dfa6

Found in base branch: v1.0

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different vulnerability than CVE-2016-4055.

Publish Date: 2018-03-04

URL: CVE-2017-18214

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

### CVSS 4 Score Details (8.7)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-446m-mv8f-q348

Release Date: 2018-03-04

Fix Resolution: 2.19.3

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2016-4055 ### Vulnerable Library - moment-1.0.1.tgz

Moment.js is a javascript date library that helps create, manipulate, and format dates without extending the `Date` prototype.

Library home page: https://registry.npmjs.org/moment/-/moment-1.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/moment/package.json

Dependency Hierarchy: - :x: **moment-1.0.1.tgz** (Vulnerable Library)

Found in HEAD commit: 3aac8b3b9a7238edfdf17bc3cb8a3f71c633dfa6

Found in base branch: v1.0

### Reachability Analysis

The vulnerable code is unreachable

### Vulnerability Details

The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."

Publish Date: 2017-01-23

URL: CVE-2016-4055

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.8%

### CVSS 4 Score Details (7.1)

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

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-87vv-r9j6-g5qv

Release Date: 2017-01-23

Fix Resolution: 2.11.2

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

:rescue_worker_helmet:Automatic Remediation will be attempted for this issue.

mend-for-github-com[bot] commented 2 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 2 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.