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

Fix for CVE-2022-21213 #279

Merged
merged 3 commits into from
Sep 19, 2022
Merged

Fix for CVE-2022-21213 #279

merged 3 commits into from
Sep 19, 2022

Conversation

ssong
Copy link
Contributor

@ssong ssong commented Jun 22, 2022

There is an edge case which meant the previous mitigation for prototype pollution could be bypassed.

This PR is to fix CVE-2022-21213 (Snyk link)

I've added a test case as well to the set function to account for the edge case.

closes #273

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.

Prototype Pollution
2 participants