CVE-2024-31209 OpenID Connect client Atom Exhaustion in provider configuration worker ets table location

Medium 5.3 Published Updated

Attackers can cause denial of service in Erlang applications using the oidcc library by exhausting atoms via specific worker function calls.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-31209?

CVE-2024-31209 is a medium-severity denial of service vulnerability in erlef oidcc, published on 4 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

oidcc is the OpenID Connect client library for Erlang. Denial of Service (DoS) by Atom exhaustion is possible by calling `oidcc_provider_configuration_worker:get_provider_configuration/1` or `oidcc_provider_configuration_worker:get_jwks/1`. This issue has been patched in version(s)`3.1.2` & `3.2.0-beta.3`.

Weakness: CWE-400

Which versions are affected by CVE-2024-31209?

6 open source packages ship an affected version, including oidcc.

PackageAffectedFixed in
oidcc HexFrom 3.0.03.0.2
oidcc HexFrom 3.0.03.0.2
oidcc HexFrom 3.1.03.1.2
oidcc HexFrom 3.1.03.1.2
oidcc HexFrom 3.2.0-beta.13.2.0-beta.3
oidcc HexFrom 3.2.0-beta.13.2.0-beta.3

How do I fix CVE-2024-31209?

Upgrade oidcc to a fixed version for your release line: 3.0.2, 3.1.2 or 3.2.0-beta.3.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2024-31209 being exploited?

There is no known exploitation of CVE-2024-31209 in the wild and no public exploit code.

Sources

Also known as GHSA-mj35-2rgf-cv8p.

Is CVE-2024-31209 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free