{"id":"CVE-2024-53441","aliases":["CVE-2024-53441","GHSA-h63v-hw6g-x8hp"],"related":[],"kind":"vulnerability","state":"published","title":"Bit flip attack vulnerability in cookie-encrypter","summary":"An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Un problema en la función decryptCookie de index.js de cookie-encrypter v1.0.1 permite a los atacantes ejecutar un ataque de inversión de bits.","source":"nvd"}],"published":"2024-12-09T00:00:00.000Z","modified":"2026-06-17T08:08:53.620Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N","score":8.2,"rating":"HIGH"}],"cwes":["CWE-325","CWE-327"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.1"}],"ecosystem":"npm","package":"cookie-encrypter","purl":"pkg:npm/cookie-encrypter","source":"ghsa"}],"references":[{"url":"https://gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://mathys.reboux.pro/CVE/2024/53441","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53441","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ebourmalo/cookie-encrypter/issues/9","tags":["web"],"sources":["ghsa"]},{"url":"https://crypto.stackexchange.com/questions/66085/bit-flipping-attack-on-cbc-mode","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ebourmalo/cookie-encrypter","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-12-11T20:31:16.979Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-53441","url":"https://www.cve.org/CVERecord?id=CVE-2024-53441","licence":"CVE Terms of Use","modified":"2024-12-11T20:45:11.118Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h63v-hw6g-x8hp","url":"https://github.com/advisories/GHSA-h63v-hw6g-x8hp","licence":"CC-BY-4.0","modified":"2024-12-11T21:57:14.153Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-53441","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53441","licence":"Public domain","modified":"2026-06-17T08:08:53.620Z"}],"updatedAt":"2026-11-25T22:58:49.855Z","epss":{"score":0.00286,"percentile":0.22656,"date":"2026-12-02T12:00:21.000Z"}}