{"id":"GHSA-fqh6-6h6c-366m","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 \u003c= 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.","aliases":["CVE-2023-39655"],"modified":"2024-01-03T22:41:43.878553Z","published":"2024-01-03T15:30:26Z","database_specific":{"cwe_ids":["CWE-74"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-01-03T22:03:52Z","nvd_published_at":"2024-01-03T13:15:08Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39655"},{"type":"WEB","url":"https://github.com/dub-flow/vulnerability-research/tree/main/CVE-2023-39655"},{"type":"PACKAGE","url":"https://github.com/perfood/couch-auth"},{"type":"WEB","url":"https://www.npmjs.com/package/%40perfood/couch-auth"}],"affected":[{"package":{"name":"@perfood/couch-auth","ecosystem":"npm","purl":"pkg:npm/%40perfood/couch-auth"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"}]}