vasind / try-ember

Ember related best practises and its TDD
MIT License
0 stars 0 forks source link

CVE-2021-23354 (High) detected in printf-0.5.1.tgz - autoclosed #221

Closed mend-bolt-for-github[bot] closed 2 years ago

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

CVE-2021-23354 - High Severity Vulnerability

Vulnerable Library - printf-0.5.1.tgz

Full implementation of the `printf` family in pure JS.

Library home page: https://registry.npmjs.org/printf/-/printf-0.5.1.tgz

Path to dependency file: try-ember/package.json

Path to vulnerable library: try-ember/node_modules/printf

Dependency Hierarchy: - ember-cli-3.7.1.tgz (Root Library) - testem-2.14.0.tgz - :x: **printf-0.5.1.tgz** (Vulnerable Library)

Found in HEAD commit: 644f15b5e5d4fe88a8a37c60bd3c25bb9d5e22cc

Vulnerability Details

The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\%(?:\(([\w_.]+)\)|([1-9]\d*)\$)?([0 +\-\]*)(\*|\d+)?(\.)?(\*|\d+)?[hlL]?([\%bscdeEfFgGioOuxX])/g in lib/printf.js. The vulnerable regular expression has cubic worst-case time complexity.

Publish Date: 2021-03-12

URL: CVE-2021-23354

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23354

Release Date: 2021-03-12

Fix Resolution: v0.6.1


Step up your Open Source Security Game with WhiteSource here

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