CVE-2024-21492 json
Insufficient Session Expiration in github.com/greenpau/caddy-security
published 2024-02-17 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-0739 , GHSA-vp66-gf7w-9m4x , GO-2024-2557
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- blog.trailofbits.com https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
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-613 DEPRECATED: Insufficient Session Expiration
References
-
blog.trailofbits.com
/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/
exploit, press/media-coverage, third-party-advisory
-
github.com
/greenpau/caddy-security/issues/272
web, issue-tracking, vendor-advisory, report
-
security.snyk.io
/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-21492
advisory
-
blog.trailofbits.com
/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy
web
-
github.com
/advisories/GHSA-vp66-gf7w-9m4x
advisory
Sources
- CVE List CVE-2024-21492
- GitHub Advisory GHSA-vp66-gf7w-9m4x
- NVD CVE-2024-21492
- OSV GO-2024-2557
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.