Quick answers
- Is CVE-2024-57177 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2024-57177 being exploited in the wild.
- How severe is CVE-2024-57177?
- Low severity, with a CVSS score of 3.1, published 10 February 2025.
- Which products and versions are affected?
- @perfood/couch-auth (npm) SEMVER:introduced=0,last_affected=0.21.2; Perfood Couch-Auth up to 0.21.2.
- Is there a fix for CVE-2024-57177?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2024-57177 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2024-57177?
- Check whether you run @perfood/couch-auth (npm) or Perfood Couch-Auth at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
The vulnerability is a server-side template injection (SSTI) triggered via host header injection in the email change confirmation request flow. The root cause lies in improper sanitization of the host header before it is used in email template rendering. An attacker can send a specially crafted host header without authentication to trigger template injection during email processing. The attack requires network access to the email functionality endpoint but no user interaction or authentication. Successful exploitation allows an attacker to execute limited commands or leak server-side information. Affected versions are CouchAuth up to and including 0.21.2; patched versions may be available in the repository.
Affected products
- perfood couch-auth up to 0.21.2
Identifiers
- CVE-2024-57177
- GHSA-r385-c5fc-x56c
Timeline
- 2025-02-10: disclosed
- 2025-02-10: advisory: GHSA-r385-c5fc-x56c published