Description
@irrelon/path 6.2.2 before 7.0.3 contains a prototype pollution vulnerability in merge() and mergeImmutable() that allows remote attackers to modify Object.prototype by supplying __proto__ keys. Attackers can pass untrusted JSON containing __proto__ or constructor.prototype payloads to merged objects, causing property injection, authorization bypass, or denial of service.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
irrelon @irrelon/path
Default version status: unaffected
6.2.2 to < 7.0.3affected
pkg:npm/%40irrelon/pathReferences
- https://github.com/irrelon/irrelon-path/security/advisories/GHSA-hp37-rc53-gpm2 ↗
- https://github.com/irrelon/irrelon-path/commit/a554ca96310d63602c30346809eefe7774dff501 ↗
- https://github.com/irrelon/irrelon-path/commit/f4d986ca677e408eba5c2892cae4b248dbeb60bd ↗
- https://github.com/irrelon/irrelon-path/blob/c59481b07f46172419c8331192fbc881c16c97cf/src/path.ts#L1872-L1890 ↗
- https://www.vulncheck.com/advisories/irrelon-path-6.2.2-before-7.0.3-prototype-pollution-via-merge-and-mergeimmutable ↗