Advisory

GHSA-23wx-cgxq-vpwx

Also known as: CVE-2022-25645

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-03 00:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

dset

npm · All systems

Affected

  • introduced 0, fixed 3.1.2 (semver)

Fixed versions

3.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences