{"id":"CVE-2024-25718","published":"2024-02-11T00:00:00Z","modified":"2025-04-24T15:45:22Z","title":"In the Samly package before 1.4.0 for Elixir, Samly.State.Store.get_assertion/3 can return an expired session, which…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01078,"percentile":0.64585,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://hex.pm/packages/samly","tags":[]},{"url":"https://github.com/handnot2/samly","tags":[]},{"url":"https://github.com/dropbox/samly","tags":[]},{"url":"https://diff.hex.pm/diff/samly/1.3.0..1.4.0","tags":[]},{"url":"https://github.com/dropbox/samly/pull/13","tags":[]},{"url":"https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb","tags":[]}],"priority":{"score":19.3,"factors":[{"name":"EPSS percentile","points":12.92},{"name":"CVSS severity","points":6.37}]},"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-01T18:06:21.342589Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"Samly","vulnerableRanges":["<1.4.0"],"patched":["1.4.0"],"from":["GHSA-h3rw-77w7-92gf"],"provenance":"source"}],"summary":{"text":"The Samly package before 1.4.0 for Elixir has a flaw in Samly.State.Store.get_assertion/3, which can return an expired session that Samly.AuthHandler keeps using because it does not replace the cached session after expiry. An attacker with network access and no authentication or user interaction can exploit this to retain access that should have ended with the session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:34Z"},"euvd":{"id":"EUVD-2024-0647","exploited":false,"provenance":"source"}}