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

Vulnerability in ajv-merge-patch 4.1.0 version via json-merge-patch - 0.2.3 version #48

Open
Parchuk opened this issue Mar 9, 2022 · 0 comments

Comments

@Parchuk
Copy link

Parchuk commented Mar 9, 2022

HI! I would very thankful if you upgrade json-merge-patch from 0.2.3 to 1.0.2 in ajv-merge-patch 4.1.0 version.

json-merge-patch has vulnerability and i haven’t ability upgrade ajv-merge-patch to 5.0.1 version.

Explanation
The json-merge-patch package is vulnerable to Prototype Pollution. The apply function in the apply.js file allows the addition or modification of object prototype properties via accessors such as proto or constructor.prototype. A remote attacker with the ability to apply patches or influence their content can exploit this vulnerability to modify the behavior of object prototypes which, depending on their use in the application, may result in a Denial of Service (DoS), Remote Code Execution (RCE), or other unexpected behavior.

@Parchuk Parchuk changed the title Vulnerability in 4.1.0.v via json-merge-patch - 0.2.3 Vulnerability in ajv-merge-patch 4.1.0 version via json-merge-patch - 0.2.3 version Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant