Bit flip attack vulnerability in cookie-encrypter
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | cookie-encrypter | <= 1.0.1 | no fix |
References
- 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
- https://gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971
- https://github.com/ebourmalo/cookie-encrypter
- https://mathys.reboux.pro/CVE/2024/53441
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N- Weakness (CWE)
CWE-325, CWE-327- Platform
- npm
- Package
cookie-encrypter- Disclosed
- 09.12.2024
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-h63v-hw6g-x8hp - CC BY 4.0
Vulnerability history: cookie-encrypter
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.