{"id":"CVE-2024-21492","aliases":["CVE-2024-21492","GHSA-vp66-gf7w-9m4x","GO-2024-2557"],"related":[],"kind":"vulnerability","state":"published","title":"Insufficient Session Expiration in github.com/greenpau/caddy-security","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Insufficient Session Expiration in github.com/greenpau/caddy-security","format":"markdown","source":"go"},{"lang":"es","text":"Todas las versiones del paquete github.com/greenpau/caddy-security son vulnerables a una caducidad de sesión insuficiente debido a una invalidación incorrecta de la sesión del usuario al hacer clic en el botón \"Cerrar sesión\". Las sesiones de usuario siguen siendo válidas incluso después de enviar solicitudes a /logout y /oauth2/google/logout. Los atacantes que obtienen acceso a una sesión activa pero supuestamente cerrada pueden realizar acciones no autorizadas en nombre del usuario.","source":"nvd"}],"published":"2024-02-17T05:00:03.171Z","modified":"2026-06-17T07:09:36.427Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-613"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/greenpau/caddy-security","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.1.23"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/greenpau/caddy-security","purl":"pkg:golang/github.com/greenpau/caddy-security","source":"go"},{"ranges":[],"vendor":"authcrunch","product":"caddy-security","cpe":"cpe:2.3:a:authcrunch:caddy-security:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGREENPAUCADDYSECURITY-5920787","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy/","tags":["exploit","press/media-coverage","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/greenpau/caddy-security/issues/272","tags":["issue-tracking","report","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21492","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://blog.trailofbits.com/2023/09/18/security-flaws-in-an-sso-plugin-for-caddy","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-vp66-gf7w-9m4x","tags":["advisory"],"sources":["go"]}],"credits":["Maciej Domanski","Travis Peters","David Pokora"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-22T16:41:27.336Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21492","url":"https://www.cve.org/CVERecord?id=CVE-2024-21492","licence":"CVE Terms of Use","modified":"2024-12-06T18:30:09.279Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vp66-gf7w-9m4x","url":"https://github.com/advisories/GHSA-vp66-gf7w-9m4x","licence":"CC-BY-4.0","modified":"2024-06-28T15:58:24.700Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2557","url":"https://pkg.go.dev/vuln/GO-2024-2557","licence":"CC-BY-4.0","modified":"2026-03-03T04:51:44.327Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21492","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21492","licence":"Public domain","modified":"2026-06-17T07:09:36.427Z"}],"updatedAt":"2026-11-25T22:58:36.885Z","epss":{"score":0.00711,"percentile":0.54776,"date":"2026-12-01T12:00:22.000Z"}}