Vulnerability · Published Feb 17, 2024 · Assigned by snyk
CVE-2024-21492
Medium 4.8
In plain English
A medium-severity security flaw in github.com/greenpau/caddy-security. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities).
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/greenpau/caddy-security | no fix listed | GHSA-vp66-gf7w-9m4x |
| Go | github.com/greenpau/caddy-security | no fix listed | GO-2024-2557 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | github.com/greenpau/caddy-security | 0 – before * |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N