CVE-2024-57077: utils-extend Prototype Pollution Vulnerability

utils-extend Updated 02 Oct 2025

Summary

06/02/2025
No i
Critical
9.1

CVE-2024-57077: utils-extend Prototype Pollution. Affects utils-extend versions < 1.0.8. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

utils-extend is a popular npm package that provides utility functions for extending objects. It allows developers to merge properties from one or more source objects into a target object, facilitating easier object manipulation in JavaScript applications. However, the package has a critical vulnerability that allows for prototype pollution, which can lead to severe security issues.

Vulnerability Detail

The vulnerability in utils-extend arises from its entry function(s) lib.extend, which can be exploited through a crafted payload that includes an Object.prototype setter. This allows an attacker to introduce or modify properties within the global prototype chain. The consequences of this vulnerability can range from denial of service (DoS) to more severe impacts, such as data manipulation or application crashes. The vulnerability has been classified under CWE-1321, indicating its nature of allowing unintended modifications to object prototypes.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using the vulnerable functions of the utils-extend package until you can update to a secure version. Additionally, consider implementing input validation to sanitize any user-supplied data that may be passed to the extend function.

Conclusion

The utils-extend package has a critical vulnerability (CVE-2024-57077) that allows for prototype pollution, posing significant risks to applications that utilize it. It is essential to update to a patched version to mitigate these risks. Utilizing tools like Vulert can help monitor for such vulnerabilities in real-time.

See every vulnerability recorded for utils-extend →

Share this vulnerability

FAQ

Prototype pollution is a security vulnerability that allows an attacker to manipulate the prototype of a base object, potentially leading to unexpected behavior in applications.

You can use tools like Vulert to monitor your package-lock.json file for vulnerabilities. Additionally, you can check the Vulert playground to see if your application is affected by this specific vulnerability.

The impacts can range from denial of service (DoS) to unauthorized data manipulation, which can compromise the integrity and security of your application.

Yes, a patch is available. You should update to a version of utils-extend that is higher than 1.0.8 to mitigate the vulnerability.

If you cannot update the package immediately, implement input validation to sanitize user inputs and avoid using the vulnerable functions until you can perform the update.

Related vulnerabilities

Recent vulnerabilities recorded for utils-extend.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback