Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.js #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update index.js #5

wants to merge 1 commit into from

Conversation

andy-r2c
Copy link
Owner

No description provided.

Comment on lines +19 to 22
function notExposedVuln(args) {
//const args = ["a", "b", "c", "d"]
console.log(minimist(args))
}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: Minimist <=1.2.5 is vulnerable to Prototype Pollution via file index.js, function setKey() (lines 69-95).

Fix: Upgrade this library to at least version 1.2.6 at sca-demo/yarn.lock:26.

Reference(s): GHSA-xvch-5gv4-984h, CVE-2021-44906

Created by ssc-f393d233-855d-49c5-a1c5-7a742519601a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant