CVE-2023-52428 Denial of Service in Connect2id Nimbus JOSE+JWT

High 7.5 Published Updated

An attacker can cause denial of service via resource consumption by sending a large JWE p2c header value to the Connect2id Nimbus JOSE+JWT library.

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-52428?

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

Official description

In Connect2id Nimbus JOSE+JWT before 9.37.2, an attacker can cause a denial of service (resource consumption) via a large JWE p2c header value (aka iteration count) for the PasswordBasedDecrypter (PBKDF2) component.

Weakness: CWE-770

Which versions are affected by CVE-2023-52428?

2 open source packages ship an affected version, including com.nimbusds:nimbus-jose-jwt. It affects 1 product.

PackageAffectedFixed in
com.nimbusds:nimbus-jose-jwt MavenAll versions9.37.2
com.nimbusds:nimbus-jose-jwt MavenAll versions9.37.2

Products include Connect2id Nimbus Jose\+jwt.

How do I fix CVE-2023-52428?

Upgrade com.nimbusds:nimbus-jose-jwt to 9.37.2 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-52428 being exploited?

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

Sources

Also known as CLEANSTART-2026-CO70761, CLEANSTART-2026-PS45852, CLEANSTART-2026-ZP61425, CLSA-2024-1723507378, CLSA-2024-1733443230, CLSA-2026-1778633125 and 13 more.

Is CVE-2023-52428 in your software?

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

Check your SBOMs for free