critical9.1
CVE-2024-53441
Bit flip attack vulnerability in cookie-encrypter
Impact
due to a weakness in the encryption method used in cookie-encrypter an attack can use the world visible IV to edit encrypted cookies without decrypting the cookie itself. This is known as an AES CBC bit flipping attack.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | cookie-encrypter | <= 1.0.1 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971
- https://mathys.reboux.pro/CVE/2024/53441
- https://github.com/advisories/GHSA-h63v-hw6g-x8hp
- https://nvd.nist.gov/vuln/detail/CVE-2024-53441
- https://github.com/ebourmalo/cookie-encrypter/issues/9
- https://crypto.stackexchange.com/questions/66085/bit-flipping-attack-on-cbc-mode