Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1mcWg2LTZoNmMtMzY2bc4AA4LR

CouchAuth host header injection vulnerability leaks the password reset token

A host header injection vulnerability exists in the NPM package @perfood/couch-auth versions <= 0.20.0. By sending a specially crafted host header in the forgot password request, it is possible to send password reset links to users which, once clicked, lead to an attacker-controlled server and thus leak the password reset token. This may allow an attacker to reset other users' passwords and take over their accounts.

Permalink: https://github.com/advisories/GHSA-fqh6-6h6c-366m
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1mcWg2LTZoNmMtMzY2bc4AA4LR
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 4 months ago
Updated: 4 months ago


CVSS Score: 8.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Identifiers: GHSA-fqh6-6h6c-366m, CVE-2023-39655
References: Repository: https://github.com/dub-flow/vulnerability-research
Blast Radius: 1.0

Affected Packages

npm:@perfood/couch-auth
Dependent packages: 1
Dependent repositories: 0
Downloads: 1,018 last month
Affected Version Ranges: <= 0.20.0
No known fixed version
All affected versions: 0.16.2, 0.16.3, 0.16.4, 0.17.0, 0.17.1, 0.17.2, 0.17.3, 0.17.4, 0.18.0, 0.18.1, 0.18.2, 0.18.3, 0.19.0, 0.19.1, 0.19.2, 0.20.0