Impact:
Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the _.unset and _.omit functions. The fix for (CVE-2025-13465: https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg) only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such as Object.prototype, Number.prototype, and String.prototype.
The issue permits deletion of prototype properties but does not allow overwriting their original behavior.
Patches:
This issue is patched in 4.18.0.
Workarounds:
None. Upgrade to the patched version.
The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Lodash | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash-amd | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash-es | Lodash | 4.0.0 (including) | 4.17.23 (excluding) |
| Lodash.unset | Lodash | 4.0.0 (including) | * |
| Red Hat Developer Hub 1.10 | RedHat | rhdh/rhdh-hub-rhel9:1780930740 | * |
| Red Hat Hardened Images | RedHat | nodejs25-main-25.9.0-1.1.hum1 | * |
| Red Hat Hardened Images | RedHat | yarnpkg-main-1.22.22-18.1.hum1 | * |
| Red Hat Hardened Images | RedHat | nodejs20-main-20.20.2-1.hum1 | * |
| Node-lodash | Ubuntu | esm-apps-legacy/xenial | * |
| Node-lodash | Ubuntu | esm-apps/bionic | * |
| Node-lodash | Ubuntu | esm-apps/focal | * |
| Node-lodash | Ubuntu | esm-apps/jammy | * |
| Node-lodash | Ubuntu | esm-apps/noble | * |
| Node-lodash | Ubuntu | esm-apps/resolute | * |
| Node-lodash | Ubuntu | esm-apps/xenial | * |
| Node-lodash | Ubuntu | jammy | * |
| Node-lodash | Ubuntu | noble | * |
| Node-lodash | Ubuntu | questing | * |
| Node-lodash | Ubuntu | resolute | * |
| Node-lodash | Ubuntu | upstream | * |