joshrup / WebGoat-Remediate

Other
0 stars 0 forks source link

moment-1.0.1.tgz: 2 vulnerabilities (highest severity is: 7.5) unreachable - autoclosed #19

Closed mend-for-github-com[bot] closed 6 months ago

mend-for-github-com[bot] commented 8 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: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Vulnerabilities

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

Unreachable

CVE-2016-4055 Medium 6.5 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: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

### 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 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://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: 43b25bbc89b6f6ed9662c3ca8bc84ee4e8036d17

Found in base branch: main

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

For more information on CVSS3 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 6 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.