mattphillips/deep-object-diff · Security
deep-object-diff vulnerable to Prototype Pollution
- GHSA ID
- GHSA-653v-rqx9-j85p
- CVE ID
- CVE-2022-41713
- Severity
- medium
- Published
- Updated
- CVSS
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- CVSS v3
- 5.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
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.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41713 ↗
- https://fluidattacks.com/advisories/heldens/ ↗
- https://github.com/mattphillips/deep-object-diff/issues/85 ↗
- https://github.com/mattphillips/deep-object-diff/issues/85#issuecomment-1312450353 ↗
- https://github.com/mattphillips/deep-object-diff/pull/87/commits/55f9c3c70cf0d54cb30291e949fb8682fa3c5d9f ↗
- https://github.com/mattphillips/deep-object-diff/pull/87/commits/9576963b68b955e88610aa4f0c696a1aafc1119d ↗
- https://github.com/advisories/GHSA-653v-rqx9-j85p ↗