CVE-2024-21497
MEDIUM 6.1CVSS 3.1Open Redirect in github.com/greenpau/caddy-security
Versions of the package github.com/greenpau/caddy-security are vulnerable to Open Redirect via the redirect_url parameter. An attacker could perform a phishing attack and trick users into visiting a malicious website by crafting a convincing URL with this parameter. To exploit this vulnerability, the user must take an action, such as clicking on a portal button or using the browser’s back button, to trigger the redirection.
- Published
- 17 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-601
- Also known as
- GHSA-8hp3-rmr7-xh88GO-2024-2560
- Sources
- NVDJSONOSV GHSA-8hp3-rmr7-xh88JSONOSV GO-2024-2560JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | greenpau | caddy-securitycpe:2.3:a:greenpau:caddy-security:*:*:*:*:*:*:*:* |
all versions | |
| OSV | Go | github.com/greenpau/caddy-security | <= 1.1.23 | |
| OSV | Go | github.com/greenpau/caddy-security | all versions |
References
- https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ · Mitigation, Third Party Advisory, WEB
- https://github.com/greenpau/caddy-security/issues/268 · Issue Tracking, WEB, REPORT
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249861 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21497 · ADVISORY
- github.com/greenpau/caddy-security · PACKAGE
- https://github.com/advisories/GHSA-8hp3-rmr7-xh88 · ADVISORY
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 17 Feb 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 Feb 2024)