Unknown · Cookie-Encrypter · CVE-2024-53441
**Name of the Vulnerable Software and Affected Versions**
cookie-encrypter version 1.0.1
**Description**
The issue is related to a weakness in the encryption method used, allowing attackers to execute a bit flipping attack, specifically an AES CBC bit flipping attack, by exploiting the `decryptCookie` function in `index.js`. This enables attackers to edit encrypted cookies without decrypting them, using the publicly visible initialization vector (IV).
**Recommendations**
For cookie-encrypter version 1.0.1, consider disabling the `decryptCookie` function in `index.js` as a temporary workaround until a patch is available. Restrict access to the `decryptCookie` function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.