CVE-2024-21500
MEDIUM 6.5CVSS 3.1Improper Restriction of Excessive Authentication Attempts in github.com/greenpau/caddy-security
All versions of the package github.com/greenpau/caddy-security are vulnerable to Improper Restriction of Excessive Authentication Attempts via the two-factor authentication (2FA). Although the application blocks the user after several failed attempts to provide 2FA codes, attackers can bypass this blocking mechanism by automating the application’s full multistep 2FA process.
- Published
- 17 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-307
- Also known as
- GHSA-vfph-hjfv-cpv2GO-2024-2563
- Sources
- NVDJSONOSV GHSA-vfph-hjfv-cpv2JSONOSV GO-2024-2563JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authcrunch | caddy-securitycpe:2.3:a:authcrunch: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/ · Exploit, Third Party Advisory, WEB
- https://github.com/greenpau/caddy-security/issues/271 · Issue Tracking, WEB, REPORT
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249864 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21500 · ADVISORY
- github.com/greenpau/caddy-security · PACKAGE
- https://github.com/advisories/GHSA-vfph-hjfv-cpv2 · 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:14 UTC · OSV: first stored (published 17 Feb 2024)