# CVE-2024-21500: Improper Restriction of Excessive Authentication Attempts in github.com/greenpau/caddy-security

- Severity: Medium 4.8 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- 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.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-17T05:00:06.899Z
- Modified: 2026-06-17T07:09:37.510Z
- Also known as: GHSA-vfph-hjfv-cpv2, GO-2024-2563
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: snyk

## Description

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.

(As written by CVE List.)

## Affected

- github.com/greenpau/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 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## References

- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/> (exploit, third-party-advisory)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-6249864> (third-party-advisory, web)
- <https://github.com/greenpau/caddy-security/issues/271> (issue-tracking, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21500> (advisory)
- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy> (web)
- <https://github.com/advisories/GHSA-vfph-hjfv-cpv2> (advisory)

## Sources

- CVE List: [CVE-2024-21500](https://www.cve.org/CVERecord?id=CVE-2024-21500), CVE Terms of Use, modified 2024-12-05
- GitHub Advisory Database: [GHSA-vfph-hjfv-cpv2](https://github.com/advisories/GHSA-vfph-hjfv-cpv2), CC-BY-4.0, modified 2025-04-04
- Go Vulnerability Database: [GO-2024-2563](https://pkg.go.dev/vuln/GO-2024-2563), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-21500](https://nvd.nist.gov/vuln/detail/CVE-2024-21500), Public domain, modified 2026-06-17

---

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