Advisory

GHSA-r385-c5fc-x56c

Also known as: CVE-2024-57177

Summary

CouchAuth has a Server-Side Template Injection vulnerability in its email functionality

Details

A host header injection vulnerability exists in the NPM package of perfood/couch-auth <= 0.21.2. By sending a specially crafted host header in the email change confirmation request, it is possible to trigger a SSTI which can be leveraged to run limited commands or leak server-side information.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-02-10 21:31 UTC
Modified
2025-12-18 16:11 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