critical9.1
CVE-2024-25718
Samly access control vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| erlang | Samly | < 1.4.0 | 1.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dropbox | Samly | before 1.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://diff.hex.pm/diff/samly/1.3.0..1.4.0
- https://github.com/dropbox/samly
- https://github.com/dropbox/samly/pull/13
- https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb
- https://github.com/handnot2/samly
- https://hex.pm/packages/samly
- https://github.com/advisories/GHSA-h3rw-77w7-92gf
- https://nvd.nist.gov/vuln/detail/CVE-2024-25718
- https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6