dreamboy9 / ofbiz

Apache OFBiz - Main development has moved to the ofbiz-frameworks repository.
https://ofbiz.apache.org
Apache License 2.0
0 stars 0 forks source link

CVE-2021-3807 (High) detected in multiple libraries #39

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

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-3807 - High Severity Vulnerability

Vulnerable Libraries - ansi-regex-5.0.0.tgz, ansi-regex-4.1.0.tgz, ansi-regex-3.0.0.tgz

ansi-regex-5.0.0.tgz

Regular expression for matching ANSI escape codes

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

Path to dependency file: /framework/images/webapp/images/jquery/plugins/validate/package.json

Path to vulnerable library: /framework/images/webapp/images/jquery/plugins/validate/node_modules/tap/node_modules/wrap-ansi/node_modules/ansi-regex/package.json,/framework/images/webapp/images/jquery/plugins/validate/node_modules/tap/node_modules/string-width/node_modules/ansi-regex/package.json,/framework/images/webapp/images/jquery/plugins/validate/node_modules/yargs/node_modules/ansi-regex/package.json

Dependency Hierarchy: - grunt-0.3.17.tgz (Root Library) - nodeunit-0.7.4.tgz - tap-15.0.9.tgz - nyc-15.1.0.tgz - yargs-15.4.1.tgz - cliui-6.0.0.tgz - strip-ansi-6.0.0.tgz - :x: **ansi-regex-5.0.0.tgz** (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: /framework/images/webapp/images/jquery/plugins/validate/package.json

Path to vulnerable library: /framework/images/webapp/images/jquery/plugins/validate/node_modules/tap/node_modules/log-update/node_modules/ansi-regex/package.json,/framework/images/webapp/images/jquery/plugins/validate/node_modules/tap/node_modules/string-length/node_modules/ansi-regex/package.json

Dependency Hierarchy: - grunt-0.3.17.tgz (Root Library) - nodeunit-0.7.4.tgz - tap-15.0.9.tgz - ink-2.7.1.tgz - log-update-3.4.0.tgz - wrap-ansi-5.1.0.tgz - strip-ansi-5.2.0.tgz - :x: **ansi-regex-4.1.0.tgz** (Vulnerable Library)

ansi-regex-3.0.0.tgz

Regular expression for matching ANSI escape codes

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

Path to dependency file: /framework/images/webapp/images/jquery/plugins/validate/package.json

Path to vulnerable library: /framework/images/webapp/images/jquery/plugins/validate/node_modules/ansi-regex/package.json

Dependency Hierarchy: - grunt-0.3.17.tgz (Root Library) - nodeunit-0.7.4.tgz - tap-15.0.9.tgz - jackspeak-1.4.0.tgz - cliui-4.1.0.tgz - strip-ansi-4.0.0.tgz - :x: **ansi-regex-3.0.0.tgz** (Vulnerable Library)

Found in base branch: trunk

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): 5.0.1

Direct dependency fix Resolution (grunt): 0.4.0

Fix Resolution (ansi-regex): 5.0.1

Direct dependency fix Resolution (grunt): 0.4.0

Fix Resolution (ansi-regex): 5.0.1

Direct dependency fix Resolution (grunt): 0.4.0


Step up your Open Source Security Game with Mend here