# CVE-2024-21498: Server-Side Request Forgery in github.com/greenpau/caddy-security

- Severity: Medium 5.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-17T05:00:05.493Z
- Modified: 2026-06-17T07:09:37.240Z
- Also known as: GHSA-93x8-66j2-wwr5, GO-2024-2561
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: snyk

## Description

All versions of the package github.com/greenpau/caddy-security are vulnerable to Server-side Request Forgery (SSRF) via X-Forwarded-Host header manipulation. An attacker can expose sensitive information, interact with internal services, or exploit other vulnerabilities within the network by exploiting this vulnerability.

(As written by CVE List.)

## Affected

- github.com/greenpau/caddy-security: before *
- authcrunch caddy_security: before *
- github.com/greenpau/caddy-security (Go): up to 1.1.23; all versions
- authcrunch caddy-security: no versions given

## Every score

- snyk: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/greenpau/caddy-security/issues/269> (exploit, issue-tracking, report, web)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249862> (third-party-advisory, web)
- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/> (issue-tracking, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21498> (advisory)
- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy> (web)
- <https://github.com/advisories/GHSA-93x8-66j2-wwr5> (advisory)

## Sources

- CVE List: [CVE-2024-21498](https://www.cve.org/CVERecord?id=CVE-2024-21498), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-93x8-66j2-wwr5](https://github.com/advisories/GHSA-93x8-66j2-wwr5), CC-BY-4.0, modified 2024-08-02
- Go Vulnerability Database: [GO-2024-2561](https://pkg.go.dev/vuln/GO-2024-2561), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-21498](https://nvd.nist.gov/vuln/detail/CVE-2024-21498), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-21498 · Whole record: https://cve.day/CVE-2024-21498.json · Rebuilt by cve.day 2026-11-25T22:58:36.888Z
