Description
lodash vulnerable to Prototype Pollution via array path bypass in _.unset and _.omit
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 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.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 npm | | | 4.18.0 |
 npm | | | 4.18.0 |
 npm | | | 4.18.0 |
 npm | | | 4.18.0 |
 debian 11 | | =4.17.21+dfsg+~cs8.31.173-1 || =4.17.21+dfsg+~cs8.31.189.20210220-1 || =4.17.21+dfsg+~cs8.31.189.20210220-2 || =4.17.21+dfsg+~cs8.31.189.20210220-2~bpo11+1 || =4.17.21+dfsg+~cs8.31.189.20210220-3 || =4.17.21+dfsg+~cs8.31.196.20210220-1 || =4.17.21+dfsg+~cs8.31.196.20210220-2 || =4.17.21+dfsg+~cs8.31.198.20210220-1 || =4.17.21+dfsg+~cs8.31.198.20210220-10 || =4.17.21+dfsg+~cs8.31.198.20210220-2 || =4.17.21+dfsg+~cs8.31.198.20210220-3 || =4.17.21+dfsg+~cs8.31.198.20210220-4 || =4.17.21+dfsg+~cs8.31.198.20210220-5 || =4.17.21+dfsg+~cs8.31.198.20210220-6 || =4.17.21+dfsg+~cs8.31.198.20210220-7 || =4.17.21+dfsg+~cs8.31.198.20210220-8 || =4.17.21+dfsg+~cs8.31.198.20210220-9 || =4.17.21+dfsg+~cs8.31.198.20210220-9~bpo11+1 || =4.17.21+dfsg+~cs8.31.198.20210220-9~bpo11+2 || =4.17.23+dfsg-1 || =4.18.1+dfsg-1 || =4.18.1+dfsg-2 || =4.18.1+dfsg-3 | - |
 debian 13 | | =4.17.21+dfsg+~cs8.31.198.20210220-10 || =4.17.21+dfsg+~cs8.31.198.20210220-9 || =4.17.23+dfsg-1 || =4.18.1+dfsg-1 || =4.18.1+dfsg-2 || =4.18.1+dfsg-3 | - |
 debian 14 | | =4.17.21+dfsg+~cs8.31.198.20210220-10 || =4.17.21+dfsg+~cs8.31.198.20210220-9 || =4.17.23+dfsg-1 || >=0 <4.18.1+dfsg-1 | 4.18.1+dfsg-1 |
 debian 12 | | =4.17.21+dfsg+~cs8.31.198.20210220-10 || =4.17.21+dfsg+~cs8.31.198.20210220-9 || =4.17.23+dfsg-1 || =4.18.1+dfsg-1 || =4.18.1+dfsg-2 || =4.18.1+dfsg-3 | - |
 rpm rhel10 | | - | - |
 rpm rhel9 | | - | - |