GHSA-23wx-cgxq-vpwx

Suggest an improvement
Source
https://github.com/advisories/GHSA-23wx-cgxq-vpwx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-23wx-cgxq-vpwx/GHSA-23wx-cgxq-vpwx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-23wx-cgxq-vpwx
Aliases
  • CVE-2022-25645
Published
2022-05-03T00:00:45Z
Modified
2023-11-01T04:58:19.760363Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-05-01T16:15:00Z",
    "github_reviewed_at": "2022-05-20T20:13:33Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1321"
    ]
}
References

Affected packages

npm / dset

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2

Maven / org.webjars.npm:dset

Package

Name
org.webjars.npm:dset
View open source insights on deps.dev
Purl
pkg:maven/org.webjars.npm/dset

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.2

Affected versions

3.*

3.0.0
3.1.0
3.1.1