GHSA-62vx-hpcr-m9ch

Suggest an improvement
Source
https://github.com/advisories/GHSA-62vx-hpcr-m9ch
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-62vx-hpcr-m9ch/GHSA-62vx-hpcr-m9ch.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-62vx-hpcr-m9ch
Aliases
Published
2025-11-20T15:30:24Z
Modified
2025-11-20T19:42:49.147164Z
Severity
  • 6.6 (Medium) CVSS_V4 - 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 CVSS Calculator
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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2025-11-20T18:48:26Z",
    "severity": "MODERATE",
    "nvd_published_at": "2025-11-20T15:17:37Z",
    "cwe_ids": [
        "CWE-316"
    ]
}
References

Affected packages

npm / @perfood/couch-auth

Package

Name
@perfood/couch-auth
View open source insights on deps.dev
Purl
pkg:npm/%40perfood/couch-auth

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.21.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-62vx-hpcr-m9ch/GHSA-62vx-hpcr-m9ch.json"