perfood/couch-auth · Security
@perfood/couch-auth may expose session tokens, passwords
- GHSA ID
- GHSA-62vx-hpcr-m9ch
- CVE ID
- CVE-2025-60794
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.6 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U
Description
Session tokens and passwords in couch-auth 0.21.2 are stored in JavaScript objects and remain in memory without explicit clearing in src/user.ts lines 700-707. This creates a window of opportunity for sensitive data extraction through memory dumps, debugging tools, or other memory access techniques, potentially leading to session hijacking.
CWEs
- CWE-316 · Cleartext Storage of Sensitive Information in Memory