Advisory

GHSA-62vx-hpcr-m9ch

Also known as: CVE-2025-60794

Summary

@perfood/couch-auth may expose session tokens, passwords

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-11-20 15:30 UTC
Modified
2025-11-20 19:42 UTC

Affected packages and fixes

@perfood/couch-auth

npm · All systems

Affected

  • introduced 0, last affected 0.21.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences