sureng-ws-ibm / APISecurity-crAPI

Apache License 2.0
0 stars 0 forks source link

jest-dom-4.2.4.tgz: 5 vulnerabilities (highest severity is: 7.5) #17

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - jest-dom-4.2.4.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/lodash/package.json

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (jest-dom version) Remediation Possible**
CVE-2022-38900 High 7.5 decode-uri-component-0.2.0.tgz Transitive 5.0.0
CVE-2021-3807 High 7.5 ansi-regex-4.1.0.tgz Transitive 5.0.0
CVE-2020-8203 High 7.4 lodash-4.17.15.tgz Transitive 5.0.0
CVE-2021-23337 High 7.2 lodash-4.17.15.tgz Transitive 5.0.0
CVE-2020-28500 Medium 5.3 lodash-4.17.15.tgz Transitive 5.0.0

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

Details

CVE-2022-38900 ### Vulnerable Library - decode-uri-component-0.2.0.tgz

A better decodeURIComponent

Library home page: https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/decode-uri-component/package.json

Dependency Hierarchy: - jest-dom-4.2.4.tgz (Root Library) - css-2.2.4.tgz - source-map-resolve-0.5.3.tgz - :x: **decode-uri-component-0.2.0.tgz** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

decode-uri-component 0.2.0 is vulnerable to Improper Input Validation resulting in DoS.

Publish Date: 2022-11-28

URL: CVE-2022-38900

### 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-w573-4hg7-7wgq

Release Date: 2022-11-28

Fix Resolution (decode-uri-component): 0.2.1

Direct dependency fix Resolution (@testing-library/jest-dom): 5.0.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-3807 ### Vulnerable Library - ansi-regex-4.1.0.tgz

Regular expression for matching ANSI escape codes

Library home page: https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/strip-ansi/node_modules/ansi-regex/package.json,/services/web/node_modules/react-dev-utils/node_modules/ansi-regex/package.json,/services/web/node_modules/pretty-format/node_modules/ansi-regex/package.json

Dependency Hierarchy: - jest-dom-4.2.4.tgz (Root Library) - pretty-format-24.9.0.tgz - :x: **ansi-regex-4.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

ansi-regex is vulnerable to Inefficient Regular Expression Complexity

Publish Date: 2021-09-17

URL: CVE-2021-3807

### 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-93q8-gq69-wqmw

Release Date: 2021-09-17

Fix Resolution (ansi-regex): 4.1.1

Direct dependency fix Resolution (@testing-library/jest-dom): 5.0.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-8203 ### Vulnerable Library - lodash-4.17.15.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/lodash/package.json

Dependency Hierarchy: - jest-dom-4.2.4.tgz (Root Library) - :x: **lodash-4.17.15.tgz** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.

Publish Date: 2020-07-15

URL: CVE-2020-8203

### CVSS 3 Score Details (7.4)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.npmjs.com/advisories/1523

Release Date: 2020-07-15

Fix Resolution (lodash): 4.17.19

Direct dependency fix Resolution (@testing-library/jest-dom): 5.0.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2021-23337 ### Vulnerable Library - lodash-4.17.15.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/lodash/package.json

Dependency Hierarchy: - jest-dom-4.2.4.tgz (Root Library) - :x: **lodash-4.17.15.tgz** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.

Publish Date: 2021-02-15

URL: CVE-2021-23337

### CVSS 3 Score Details (7.2)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-35jh-r3h4-6jhm

Release Date: 2021-02-15

Fix Resolution (lodash): 4.17.21

Direct dependency fix Resolution (@testing-library/jest-dom): 5.0.0

:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.
CVE-2020-28500 ### Vulnerable Library - lodash-4.17.15.tgz

Lodash modular utilities.

Library home page: https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz

Path to dependency file: /services/web/package.json

Path to vulnerable library: /services/web/node_modules/lodash/package.json

Dependency Hierarchy: - jest-dom-4.2.4.tgz (Root Library) - :x: **lodash-4.17.15.tgz** (Vulnerable Library)

Found in HEAD commit: 0ebe12c17d9dae35890023db25cf9bf1863db5c0

Found in base branch: main

### Vulnerability Details

Lodash versions prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Mend Note: After conducting further research, Mend has determined that CVE-2020-28500 only affects environments with versions 4.0.0 to 4.17.20 of Lodash.

Publish Date: 2021-02-15

URL: CVE-2020-28500

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

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

Release Date: 2021-02-15

Fix Resolution (lodash): 4.17.21

Direct dependency fix Resolution (@testing-library/jest-dom): 5.0.0

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

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