snowdensb / braindump

BrainDump is a simple, powerful, and open note taking platform that makes it easy to organize your life.
MIT License
0 stars 0 forks source link

jsdoc-3.4.3.tgz: 10 vulnerabilities (highest severity is: 7.5) - autoclosed #216

Closed mend-for-github-com[bot] closed 4 weeks ago

mend-for-github-com[bot] commented 6 months ago
Vulnerable Library - jsdoc-3.4.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jsdoc version) Remediation Possible** Reachability
CVE-2022-21681 High 7.5 marked-0.3.6.tgz Transitive 3.6.8
CVE-2022-21680 High 7.5 marked-0.3.6.tgz Transitive 3.6.8
CVE-2017-16114 High 7.5 marked-0.3.6.tgz Transitive 3.5.0
WS-2019-0026 Medium 6.1 marked-0.3.6.tgz Transitive 3.5.0
WS-2019-0025 Medium 6.1 marked-0.3.6.tgz Transitive 3.5.0
WS-2020-0163 Medium 5.9 marked-0.3.6.tgz Transitive 3.6.7
WS-2019-0027 Medium 5.3 marked-0.3.6.tgz Transitive 3.5.0
WS-2018-0628 Medium 5.3 marked-0.3.6.tgz Transitive 3.6.0
CVE-2017-1000427 Low 3.7 marked-0.3.6.tgz Transitive 3.5.0
CVE-2021-23358 Low 3.3 detected in multiple dependencies Transitive 3.6.7

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

Details

CVE-2022-21681 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.reflinkSearch` may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

Publish Date: 2022-01-14

URL: CVE-2022-21681

### 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-5v2h-r2cx-5xgj

Release Date: 2022-01-14

Fix Resolution (marked): 4.0.10

Direct dependency fix Resolution (jsdoc): 3.6.8

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2022-21680 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

Publish Date: 2022-01-14

URL: CVE-2022-21680

### 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-rrrm-qjm4-v8hf

Release Date: 2022-01-14

Fix Resolution (marked): 4.0.10

Direct dependency fix Resolution (jsdoc): 3.6.8

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2017-16114 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

The marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.

Publish Date: 2018-06-07

URL: CVE-2017-16114

### 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://www.npmjs.com/advisories/531/versions

Release Date: 2018-04-26

Fix Resolution (marked): 0.3.9

Direct dependency fix Resolution (jsdoc): 3.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2019-0026 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Versions 0.3.7 and earlier of marked suuport unescaping of only lowercase, which may lead to XSS.

Publish Date: 2017-12-23

URL: WS-2019-0026

### CVSS 3 Score Details (6.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2017-12-23

Fix Resolution (marked): 0.3.9

Direct dependency fix Resolution (jsdoc): 3.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2019-0025 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Versions 0.3.7 and earlier of marked When mangling is disabled via option mangle don't escape target href are vulnerable to XSS, which allows an attacker to inject arbitrary code.

Publish Date: 2017-12-23

URL: WS-2019-0025

### CVSS 3 Score Details (6.1)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2017-12-23

Fix Resolution (marked): 0.3.9

Direct dependency fix Resolution (jsdoc): 3.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2020-0163 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

marked before 1.1.1 is vulnerable to Regular Expression Denial of Service (REDoS). rules.js have multiple unused capture groups which can lead to a Denial of Service.

Publish Date: 2020-07-02

URL: WS-2020-0163

### CVSS 3 Score Details (5.9)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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

Release Date: 2020-07-02

Fix Resolution (marked): 1.1.1

Direct dependency fix Resolution (jsdoc): 3.6.7

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2019-0027 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

Versions 0.3.17 and earlier of marked has Four regexes were vulnerable to catastrophic backtracking. This leaves markdown servers open to a potential REDOS attack.

Publish Date: 2018-02-26

URL: WS-2019-0027

### CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2018-02-26

Fix Resolution (marked): 0.3.18

Direct dependency fix Resolution (jsdoc): 3.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
WS-2018-0628 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

marked before 0.4.0 is vulnerable to Regular Expression Denial of Service (REDoS) through heading in marked.js.

Publish Date: 2018-04-16

URL: WS-2018-0628

### CVSS 3 Score Details (5.3)

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: Low

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2018-04-16

Fix Resolution (marked): 0.4.0

Direct dependency fix Resolution (jsdoc): 3.6.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2017-1000427 ### Vulnerable Library - marked-0.3.6.tgz

A markdown parser built for speed

Library home page: https://registry.npmjs.org/marked/-/marked-0.3.6.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/marked

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **marked-0.3.6.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

marked version 0.3.6 and earlier is vulnerable to an XSS attack in the data: URI parser.

Publish Date: 2018-01-02

URL: CVE-2017-1000427

### CVSS 3 Score Details (3.7)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-1000427

Release Date: 2018-01-02

Fix Resolution (marked): 0.3.7

Direct dependency fix Resolution (jsdoc): 3.5.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-23358 ### Vulnerable Libraries - underscore-1.6.0.tgz, underscore-1.8.3.tgz

### underscore-1.6.0.tgz

JavaScript's functional programming helper library.

Library home page: https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/underscore

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - catharsis-0.8.8.tgz - underscore-contrib-0.3.0.tgz - :x: **underscore-1.6.0.tgz** (Vulnerable Library) ### underscore-1.8.3.tgz

JavaScript's functional programming helper library.

Library home page: https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/underscore

Dependency Hierarchy: - jsdoc-3.4.3.tgz (Root Library) - :x: **underscore-1.8.3.tgz** (Vulnerable Library)

Found in base branch: master

### Vulnerability Details

The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the template function, particularly when a variable property is passed as an argument as it is not sanitized.

Publish Date: 2021-03-29

URL: CVE-2021-23358

### CVSS 3 Score Details (3.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23358

Release Date: 2021-03-29

Fix Resolution (underscore): 1.12.1

Direct dependency fix Resolution (jsdoc): 3.6.7

Fix Resolution (underscore): 1.12.1

Direct dependency fix Resolution (jsdoc): 3.6.7

: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 4 weeks 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.