GitHub Advisoryadvisory · Hex
GHSA-h3rw-77w7-92gf Samly access control vulnerability
CRITICAL
Official page ↗
- Aliases
- CVE-2024-25718
- Ecosystem
- Hex
- Packages
- Samly
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-400, CWE-613
- Reviewed
- 2024-02-12
Affected packages
• Hex Samly: < 1.4.0 → fixed in 1.4.0
Description
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.
Related
Weakness · not in database (1)
Alias · CVE (1)
- CVE-2024-25718 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… vulnerability
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-25718 advisory
- https://github.com/dropbox/samly/pull/13 web
- https://github.com/dropbox/samly/pull/13/commits/812b5c3ad076dc9c9334c1a560c8e6470607d1eb web
- https://github.com/dropbox/samly/commit/7637ebeef6c6b88ec2032f5323c32edcebbacbc6 web
- https://diff.hex.pm/diff/samly/1.3.0..1.4.0 web
- https://github.com/dropbox/samly package
- https://github.com/handnot2/samly web
- https://hex.pm/packages/samly web