Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

[Snyk: High]: json-schema prototype pollution (due 02/03/2022) #645

Closed
1 task
Tracked by #137
pkfec opened this issue Dec 22, 2021 · 0 comments · Fixed by #658
Closed
1 task
Tracked by #137

[Snyk: High]: json-schema prototype pollution (due 02/03/2022) #645

pkfec opened this issue Dec 22, 2021 · 0 comments · Fixed by #658
Assignees
Labels
Security: general General security concern or issue Security: high Remediate within 30 days
Milestone

Comments

@pkfec
Copy link
Contributor

pkfec commented Dec 22, 2021

Overview

Affected versions of this package are vulnerable to Prototype Pollution via the validate function, which when given a special payload will pollute Object with undesired attributes.

https://security.snyk.io/vuln/SNYK-JS-JSONSCHEMA-1920922

Detailed path:

Introduced through [email protected]

Remediation:

Fixed in [email protected].

Completion criteria:

  • Fix: Your dependencies are out of date, otherwise you would be using a newer json-schema.Try relocking your lockfile or deleting node_modules, reinstalling and running snyk wizard. If the problem persists, one of your dependencies may be bundling outdated modules.

Once we upgrade to [email protected] this should be resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Security: general General security concern or issue Security: high Remediate within 30 days
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants