GitHub Advisoryadvisory · npm
GHSA-653v-rqx9-j85p deep-object-diff vulnerable to Prototype Pollution
MEDIUM
Official page ↗
- Aliases
- CVE-2022-41713
- Ecosystem
- npm
- Packages
- deep-object-diff
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-1321
- Reviewed
- 2022-11-08
Affected packages
• npm deep-object-diff: >= 1.1.6, < 1.1.9 → fixed in 1.1.9
Description
deep-object-diff before version 1.1.6 allows an external attacker to edit or add new properties to an object. This is possible because the application does not properly validate incoming JSON keys, thus allowing the `__proto__` property to be edited. This issue was fixed in version 1.1.9.
Related
Alias · CVE (1)
- CVE-2022-41713 deep-object-diff version 1.1.0 allows an external attacker to edit or add new properties to an object. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41713 advisory
- https://github.com/mattphillips/deep-object-diff/issues/85 web
- https://github.com/mattphillips/deep-object-diff/issues/85#issuecomment-1312450353 web
- https://github.com/mattphillips/deep-object-diff/pull/87/commits/55f9c3c70cf0d54cb30291e949fb8682fa3c5d9f web
- https://github.com/mattphillips/deep-object-diff/pull/87/commits/9576963b68b955e88610aa4f0c696a1aafc1119d web
- https://fluidattacks.com/advisories/heldens web
- https://github.com/mattphillips/deep-object-diff package