GHSA-fqh6-6h6c-366m

Suggest an improvement
Source
https://github.com/advisories/GHSA-fqh6-6h6c-366m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-fqh6-6h6c-366m/GHSA-fqh6-6h6c-366m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-fqh6-6h6c-366m
Aliases
  • CVE-2023-39655
Published
2024-01-03T15:30:26Z
Modified
2024-01-03T22:41:43.878553Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
CouchAuth host header injection vulnerability leaks the password reset token
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-74"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2024-01-03T22:03:52Z",
    "nvd_published_at": "2024-01-03T13:15:08Z",
    "severity": "HIGH"
}
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.20.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-fqh6-6h6c-366m/GHSA-fqh6-6h6c-366m.json"