Commit 11d894d
Upgrade lodash 4.17.21 → 4.18.1 (CVE-2026-4800) (#56603)
Summary:
Pull Request resolved: #56603
Upgrade transitive dependency lodash from 4.17.21 to 4.18.1 to remediate CVE-2026-4800 (Improper Control of Generation of Code / Code Injection).
- Added `"lodash": "4.18.1"` to `resolutions` in package.json to force all lodash ranges (including `~4.17.15`) to resolve to 4.18.1
- Updated yarn.lock entry to resolve all lodash ranges to 4.18.1
Without the resolution override, the `~4.17.15` range would stay at 4.17.21 (vulnerable) since `~` only allows patch-level updates and 4.18.1 is a minor bump.
Changelog: [Internal]
Reviewed By: christophpurrer
Differential Revision: D102273666
fbshipit-source-id: d3a17ba480b5d44c048b2b1d814bc3989abcd06a1 parent 3d2d14d commit 11d894d
2 files changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
| 126 | + | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6506 | 6506 | | |
6507 | 6507 | | |
6508 | 6508 | | |
6509 | | - | |
6510 | | - | |
6511 | | - | |
6512 | | - | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
6513 | 6513 | | |
6514 | 6514 | | |
6515 | 6515 | | |
| |||
0 commit comments