{"id":"GHSA-h3rw-77w7-92gf","summary":"Samly access control vulnerability","details":"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.","aliases":["CVE-2024-25718"],"modified":"2026-09-10T03:50:06.219469377Z","published":"2024-02-11T06:30:27Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-02-12T17:22:18Z","nvd_published_at":"2024-02-11T05:15:08Z","cwe_ids":["CWE-400","CWE-613"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-25718"},{"type":"WEB","url":"https://github.com/dropbox/samly/pull/13"},{"type":"WEB","url":"https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb"},{"type":"WEB","url":"https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6"},{"type":"WEB","url":"https://diff.hex.pm/diff/samly/1.3.0..1.4.0"},{"type":"PACKAGE","url":"https://github.com/dropbox/samly"},{"type":"WEB","url":"https://github.com/handnot2/samly"},{"type":"WEB","url":"https://hex.pm/packages/samly"}],"affected":[{"package":{"name":"Samly","ecosystem":"Hex","purl":"pkg:hex/Samly"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-h3rw-77w7-92gf/GHSA-h3rw-77w7-92gf.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V4","score":"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"}]}