CVE-2024-21492
HIGH 8.1CVSS 3.1Insufficient Session Expiration in github.com/greenpau/caddy-security
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.
- Published
- 17 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Analyzed
- Weakness
- CWE-613
- Also known as
- GHSA-vp66-gf7w-9m4xGO-2024-2557
- Sources
- NVDJSONOSV GHSA-vp66-gf7w-9m4xJSONOSV GO-2024-2557JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 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:-:*:*:*:*:*:*:* |
(no version) | |
| 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, Press/Media Coverage, Third Party Advisory, WEB
- https://github.com/greenpau/caddy-security/issues/272 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21492 · ADVISORY
- github.com/greenpau/caddy-security · PACKAGE
- https://github.com/advisories/GHSA-vp66-gf7w-9m4x · 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)