Critical severity · published Feb 11, 2024
CVE-2024-25718
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…
9.8
CVSS
0.7%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 52% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SA
Samly · Dropbox
before 1.4.0 · source: NVD
EL
Elixr · Samly
before 1.4.0 · source: CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-25718
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-25718
Patch
https://diff.hex.pm/diff/samly/1.3.0..1.4.0
Product
https://github.com/dropbox/samly
Patch
https://github.com/dropbox/samly/pull/13
Patch
https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb
Product
https://github.com/handnot2/samly
Release Notes
https://hex.pm/packages/samly
More from Samly
9.1
CVE-2026-53424
Missing one-time-use enforcement in Samly allows replay of SAML bearer assertions
7.6
CVE-2026-53425
Missing InResponseTo validation in Samly allows acceptance of unsolicited SAML responses
