BEAM node crash via unbounded atom creation
Published Apr 4, 2024 · Updated Sep 3, 2024
Denial of service in oidcc affected 3.x releases allows local users with application control to crash a BEAM node through atom exhaustion. oidcc_provider_configuration_worker:get_ets_table_name/1 converts each worker-name atom to a list, appends "_table", and calls erlang:list_to_atom/1, permanently allocating a new atom for each distinct name. Exploitation requires repeated calls with different atom names—normally static application values—and filling the non-garbage-collected atom table crashes the hosting node; affected ranges are 3.0.0 through 3.0.1, 3.1.0 through 3.1.1, and 3.2.0-beta.1 through 3.2.0-beta.2.
Summary
What happened
Denial of service in oidcc affected 3.x releases allows local users with application control to crash a BEAM node through atom exhaustion. oidcc_provider_configuration_worker:get_ets_table_name/1 converts each worker-name atom to a list, appends "_table", and calls erlang:list_to_atom/1, permanently allocating a new atom for each distinct name. Exploitation requires repeated calls with different atom names—normally static application values—and filling the non-garbage-collected atom table crashes the hosting node; affected ranges are 3.0.0 through 3.0.1, 3.1.0 through 3.1.1, and 3.2.0-beta.1 through 3.2.0-beta.2.
The record
- CVE
- CVE-2024-31209
- Published
- Apr 4, 2024
- Updated
- Sep 3, 2024
- Vendor
- Erlang Ecosystem Foundation
- Product
- oidcc
- Classifications
- CWE-400, T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Apr 4, 2024CVE publishedPublication date reported by the CVE source.
- Sep 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 3.0.0, < 3.0.2
- Affected versionversion=>= 3.1.0, < 3.1.2
- Affected versionversion=>= 3.2.0-beta.1, < 3.2.0-beta.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream atom-exhaustion illustrative exampleproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo