ghsa-23wx-cgxq-vpwx
Vulnerability from github
Published
2022-05-03 00:00
Modified
2022-05-20 20:13
Severity ?
Summary
Prototype Pollution in dset
Details
All versions of dset
prior to 3.1.2 are vulnerable to Prototype Pollution via dset/merge
mode, as the dset
function checks for prototype pollution by validating if the top-level path contains __proto__
, constructor
or prototype
. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "dset" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.1.2" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Maven", "name": "org.webjars.npm:dset" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "3.1.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-25645" ], "database_specific": { "cwe_ids": [ "CWE-1321" ], "github_reviewed": true, "github_reviewed_at": "2022-05-20T20:13:33Z", "nvd_published_at": "2022-05-01T16:15:00Z", "severity": "MODERATE" }, "details": "All versions of `dset` prior to 3.1.2 are vulnerable to Prototype Pollution via `dset/merge` mode, as the `dset` function checks for prototype pollution by validating if the top-level path contains `__proto__`, `constructor` or `prototype`. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.", "id": "GHSA-23wx-cgxq-vpwx", "modified": "2022-05-20T20:13:33Z", "published": "2022-05-03T00:00:45Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25645" }, { "type": "PACKAGE", "url": "https://github.com/lukeed/dset" }, { "type": "WEB", "url": "https://github.com/lukeed/dset/blob/master/src/merge.js%23L9" }, { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974" }, { "type": "WEB", "url": "https://snyk.io/vuln/SNYK-JS-DSET-2330881" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L", "type": "CVSS_V3" } ], "summary": "Prototype Pollution in dset" }
Loading...
Loading...
- 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.