# CVE-2024-21492: Insufficient Session Expiration 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.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-02-17T05:00:03.171Z
- Modified: 2026-06-17T07:09:36.427Z
- Also known as: GHSA-vp66-gf7w-9m4x, GO-2024-2557
- Weaknesses: CWE-613
- 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 Insufficient Session Expiration due to improper user session invalidation upon clicking the "Sign Out" button. User sessions remain valid even after requests are sent to /logout and /oauth2/google/logout. Attackers who gain access to an active but supposedly logged-out session can perform unauthorized actions on behalf of the user.

(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 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/> (exploit, press/media-coverage, third-party-advisory)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787> (third-party-advisory, web)
- <https://github.com/greenpau/caddy-security/issues/272> (issue-tracking, report, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21492> (advisory)
- <https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy> (web)
- <https://github.com/advisories/GHSA-vp66-gf7w-9m4x> (advisory)

## Sources

- CVE List: [CVE-2024-21492](https://www.cve.org/CVERecord?id=CVE-2024-21492), CVE Terms of Use, modified 2024-12-06
- GitHub Advisory Database: [GHSA-vp66-gf7w-9m4x](https://github.com/advisories/GHSA-vp66-gf7w-9m4x), CC-BY-4.0, modified 2024-06-28
- Go Vulnerability Database: [GO-2024-2557](https://pkg.go.dev/vuln/GO-2024-2557), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-21492](https://nvd.nist.gov/vuln/detail/CVE-2024-21492), Public domain, modified 2026-06-17

---

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