CVE-2024-25718: Samly access control vulnerability
In the Samly package before 1.4.0 for Elixir, Samly.State.Store.getassertion/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.
Published Feb 11, 2024 · Updated Oct 21, 2024
Affected packages
Samly
- Ecosystem
- Erlang (Hex)
- Affected
- < 1.4.0
- Fixed in
- 1.4.0
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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://nvd.nist.gov/vuln/detail/CVE-2024-25718
- https://github.com/dropbox/samly/pull/13
- https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb
- https://diff.hex.pm/diff/samly/1.3.0..1.4.0
- https://github.com/dropbox/samly
- https://github.com/handnot2/samly
- https://hex.pm/packages/samly
- https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6
- https://github.com/advisories/GHSA-h3rw-77w7-92gf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
