CVE-2024-25718
CRITICAL 9.8CVSS 3.1Samly access control vulnerability
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.
- Published
- 11 Feb 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400CWE-613
- Also known as
- GHSA-h3rw-77w7-92gf
- Sources
- NVDJSONOSV GHSA-h3rw-77w7-92gfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | dropbox | samlycpe:2.3:a:dropbox:samly:*:*:*:*:*:elixir:*:* |
< 1.4.0 | 1.4.0 |
| OSV | Hex | Samly | < 1.4.0 | 1.4.0 |
References
- https://diff.hex.pm/diff/samly/1.3.0..1.4.0 · Patch, WEB
- https://github.com/dropbox/samly · Product, PACKAGE
- https://github.com/dropbox/samly/pull/13 · Patch, WEB
- https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb · Patch, WEB
- https://github.com/handnot2/samly · Product, WEB
- https://hex.pm/packages/samly · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-25718 · ADVISORY
- https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6 · WEB
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 11 Feb 2024)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 Feb 2024)