ADVISORIES

GitHub Advisory Database

GHSA-vp66-gf7w-9m4x

Insufficient Session Expiration in github.com/greenpau/caddy-security

Moderate No fix available CVE-2024-21492GO-2024-2557

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/greenpau/caddy-security
All versions up to and including 1.1.23

References