ghsa-cwx2-736x-mf6w
Vulnerability from github
Impact
A prototype pollution vulnerability has been found in object-path
<= 0.11.4 affecting the set()
method. The vulnerability is limited to the includeInheritedProps
mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of object-path
and setting the option includeInheritedProps: true
, or by using the default withInheritedProps
instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of set()
in versions < 0.11.0 is vulnerable.
Patches
Upgrade to version >= 0.11.5
Workarounds
Don't use the includeInheritedProps: true
options or the withInheritedProps
instance if using a version >= 0.11.0.
References
Read more about the prototype pollution vulnerability
For more information
If you have any questions or comments about this advisory: * Open an issue in object-path
{ "affected": [ { "package": { "ecosystem": "npm", "name": "object-path" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.11.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-15256" ], "database_specific": { "cwe_ids": [ "CWE-20", "CWE-471" ], "github_reviewed": true, "github_reviewed_at": "2020-10-19T20:52:39Z", "nvd_published_at": "2020-10-19T22:15:00Z", "severity": "HIGH" }, "details": "### Impact\nA prototype pollution vulnerability has been found in `object-path` \u003c= 0.11.4 affecting the `set()` method. The vulnerability is limited to the `includeInheritedProps` mode (if version \u003e= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of `object-path` and setting the option `includeInheritedProps: true`, or by using the default `withInheritedProps` instance. The default operating mode is not affected by the vulnerability if version \u003e= 0.11.0 is used. Any usage of `set()` in versions \u003c 0.11.0 is vulnerable.\n \n### Patches\nUpgrade to version \u003e= 0.11.5\n\n### Workarounds\nDon\u0027t use the `includeInheritedProps: true` options or the `withInheritedProps` instance if using a version \u003e= 0.11.0.\n\n### References\n[Read more about the prototype pollution vulnerability](https://codeburst.io/what-is-prototype-pollution-49482fc4b638)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [object-path](https://github.com/mariocasciaro/object-path)", "id": "GHSA-cwx2-736x-mf6w", "modified": "2021-11-19T14:05:56Z", "published": "2020-10-19T20:55:55Z", "references": [ { "type": "WEB", "url": "https://github.com/mariocasciaro/object-path/security/advisories/GHSA-cwx2-736x-mf6w" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-15256" }, { "type": "WEB", "url": "https://github.com/mariocasciaro/object-path/commit/2be3354c6c46215c7635eb1b76d80f1319403c68" }, { "type": "PACKAGE", "url": "https://github.com/mariocasciaro/object-path" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Prototype pollution in object-path" }
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.