mocha icon indicating copy to clipboard operation
mocha copied to clipboard

🔒 Security: Upgrade yargs-parser and yargs to latest stable version

Open deathstar1708 opened this issue 2 years ago • 9 comments

Currently the [email protected] version has not upgraded its yarg-parser and yargs which is causing a security vulnerability (NO-CVE: Regular Expression Denial Of Service (ReDoS)) . Please help upgrade both to the most stable version as of current date. Thank you . Attached are the vulnerability and the most stable release in the npm package library image image

deathstar1708 avatar Jul 20 '22 04:07 deathstar1708

Snyk scan is also flagging Mocha ReDos as a High Risk Vulnerability: https://security.snyk.io/vuln/SNYK-JS-MOCHA-2863123.

marcel-becker avatar Aug 05 '22 00:08 marcel-becker

This issue hasn't had any recent activity, and I'm labeling it stale. Remove the label or comment or this issue will be closed in 14 days. Thanks for contributing to Mocha!

github-actions[bot] avatar Dec 05 '22 00:12 github-actions[bot]

See also #4938 and #4809

guimard avatar Dec 05 '22 09:12 guimard

This issue hasn't had any recent activity, and I'm labeling it stale. Remove the label or comment or this issue will be closed in 14 days. Thanks for contributing to Mocha!

github-actions[bot] avatar Apr 07 '23 00:04 github-actions[bot]

Any news about updating yargs-* to latest stable version?

mahnunchik avatar Apr 20 '23 20:04 mahnunchik

This issue hasn't had any recent activity, and I'm labeling it stale. Remove the label or comment or this issue will be closed in 14 days. Thanks for contributing to Mocha!

github-actions[bot] avatar Aug 21 '23 00:08 github-actions[bot]

Any news about updating yargs-* to latest stable version?

guimard avatar Aug 21 '23 02:08 guimard

Marking as accepting PRs. Note that Mocha's current major version supports Node 14, so any version of a new package must also support 14.

JoshuaKGoldberg avatar Dec 27 '23 06:12 JoshuaKGoldberg