Handnot2 esaml
Unbounded atom creation from unsigned LogoutResponse status codes in esaml allows atom table exhaustion
Allocation of Resources Without Limits or Throttling vulnerability in esaml in dropbox esaml allows an unauthenticated attacker to exhaust the Erlang VM atom table and crash the node via unsigned LogoutResponse messages. esaml:status_code_map/1 in src/esaml.erl maps any StatusCode value it does not recognize to an atom with list_to_atom/1 on the last colon-separated segment of the URN. esaml_sp:validate_logout_response/2 verifies a signature only when the message carries one, so an unsigned LogoutResponse posted to the single-logout endpoint reaches esaml:decode_logout_response/1 and mints one permanent atom per distinct status value. Atoms are never reclaimed and the VM caps the atom table at about one million entries, so an attacker who posts that many distinct values aborts the node. This issue affects esaml: from 0.1.0 onward.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= be692b56245071899757afa7ef47e43593d3de96, < *
Fixed in *
- >= be692b56245071899757afa7ef47e43593d3de96, < *
Fixed in *
- >= 0.1.0, < *
Fixed in *
- >= be692b56245071899757afa7ef47e43593d3de96, < *
Fixed in *
Mitigation
Upgrade esaml to * or later.
Upgrade esaml to * or later.
Upgrade esaml to * or later.
Upgrade esaml to * or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.