JoshRDemo / WebGoat

Other
0 stars 0 forks source link

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

Open mend-for-github-com[bot] opened 8 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: 747dc9a4fc9903b198984a4e0847fbca0738f8d5

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (moment version) Remediation Possible** Reachability
CVE-2017-18214 High 7.5 moment-1.0.1.tgz Direct 2.19.3

Unreachable

CVE-2016-4055 Medium 6.5 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: 747dc9a4fc9903b198984a4e0847fbca0738f8d5

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

### 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

In order to enable automatic remediation, please create workflow rules

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: 747dc9a4fc9903b198984a4e0847fbca0738f8d5

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

### 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

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules

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

mend-for-github-com[bot] commented 7 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 7 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.

mend-for-github-com[bot] commented 7 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 4 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.