CVE-2024-25718

critical

Description

In the Samly package before 1.4.0 for Elixir, Samly.State.Store.get_assertion/3 can return an expired session, which interferes with access control because Samly.AuthHandler uses a cached session and does not replace it, even after expiry.

References

https://hex.pm/packages/samly

https://github.com/handnot2/samly

https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb

https://github.com/dropbox/samly/pull/13

https://github.com/dropbox/samly

https://diff.hex.pm/diff/samly/1.3.0..1.4.0

Details

Source: Mitre, NVD

Published: 2024-02-11

Updated: 2024-10-21

Risk Information

CVSS v2

Base Score: 10

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Severity: Critical

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical