Commit 7e1f5d3
committed
fix: update cookie dependency to ^0.7.0 to address CVE-2024-47764
Updates the cookie package from ^0.5.0 to ^0.7.0 to fix a critical security vulnerability (CVE-2024-47764) that allows malicious cookie values to inject unexpected key-value pairs into JavaScript objects.
The vulnerability could allow attackers to inject special properties like __proto__, constructor, or prototype through malicious cookie values.
Cookie 0.7.0 includes proper validation to prevent these injection attacks while maintaining backward compatibility.1 parent 11fe14d commit 7e1f5d3
2 files changed
Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments