CVE-2023-50966 erlang-jose vulnerable to denial of service via large p2c value

Medium 5.3 Published Updated

Attackers can cause denial of service via high CPU consumption by sending a large PBES2 Count value in JOSE headers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-50966?

CVE-2023-50966 is a medium-severity denial of service vulnerability in n/a, published on 19 Mar 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

erlang-jose (aka JOSE for Erlang and Elixir) through 1.11.6 allow attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value in a JOSE header.

Weakness: CWE-400

Which versions are affected by CVE-2023-50966?

2 open source packages ship an affected version, including jose.

PackageAffectedFixed in
jose HexAll versions1.11.7
jose HexAll versions1.11.7

How do I fix CVE-2023-50966?

Upgrade jose to 1.11.7 or later.

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-2023-50966 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50966 exists.

Sources

Also known as AZL-39719, AZL-39857, DEBIAN-CVE-2023-50966, GHSA-9mg4-v392-8j68, UBUNTU-CVE-2023-50966.

Is CVE-2023-50966 in your software?

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

Check your SBOMs for free