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).

Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)0.7%top 46.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/greenpau/caddy-securityno fix listedGHSA-vp66-gf7w-9m4x
Gogithub.com/greenpau/caddy-securityno fix listedGO-2024-2557

Affected products (as reported)

VendorProductVersions
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

References