CVE-2024-21497 json
Open Redirect in github.com/greenpau/caddy-security
published 2024-02-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0576 , GHSA-8hp3-rmr7-xh88 , GO-2024-2560
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/greenpau/caddy-security | <=1.1.23 all versions |
no fix listed |
Affected products
- n/a github.com/greenpau/caddy-security
Classification
- Weakness
-
- CWE-601 URL Redirection to Untrusted Site
References
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249861
web, third-party-advisory
-
github.com
/greenpau/caddy-security/issues/268
web, issue-tracking, report
-
blog.trailofbits.com
/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
mitigation, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21497
advisory
-
blog.trailofbits.com
/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy
web
-
github.com
/advisories/GHSA-8hp3-rmr7-xh88
advisory
Sources
- CVE List CVE-2024-21497
- GitHub Advisory GHSA-8hp3-rmr7-xh88
- NVD CVE-2024-21497
- OSV GO-2024-2560
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.