Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cookie-encrypter
  4. ›
  5. CVE-2024-53441

CVE-2024-53441: Bit flip attack vulnerability in cookie-encrypter

December 9, 2024 (updated December 11, 2024)

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.

References

  • crypto.stackexchange.com/questions/66085/bit-flipping-attack-on-cbc-mode
  • gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971
  • github.com/advisories/GHSA-h63v-hw6g-x8hp
  • github.com/ebourmalo/cookie-encrypter
  • github.com/ebourmalo/cookie-encrypter/issues/9
  • mathys.reboux.pro/CVE/2024/53441
  • nvd.nist.gov/vuln/detail/CVE-2024-53441

Code Behaviors & Features

Detect and mitigate CVE-2024-53441 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 1.0.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-325: Missing Cryptographic Step

Source file

npm/cookie-encrypter/CVE-2024-53441.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:05 +0000.