CVE-2023-51775 jose4j denial of service via specifically crafted JWE

Medium 6.5 Published Updated

Attackers can cause denial of service via CPU exhaustion by sending a large PBES2 count value to the jose4j Java library.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-51775?

CVE-2023-51775 is a medium-severity denial of service vulnerability in n/a, published on 25 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The jose4j component before 0.9.4 for Java allows attackers to cause a denial of service (CPU consumption) via a large p2c (aka PBES2 Count) value.

Weakness: CWE-400

Which versions are affected by CVE-2023-51775?

2 open source packages ship an affected version, including org.bitbucket.b_c:jose4j. It affects 1 product.

PackageAffectedFixed in
org.bitbucket.b_c:jose4j MavenAll versions0.9.4
org.bitbucket.b_c:jose4j MavenAll versions0.9.4
Linux distribution packages (30)
release-notes-susemanager-proxy SUSE:Manager Proxy 4.3All versions4.3.12-150400.3.82.3
mgr-daemon SUSE:Manager Proxy Module 4.3All versions4.3.9-150400.3.15.5
spacecmd SUSE:Manager Proxy Module 4.3All versions4.3.27-150400.3.36.5
spacewalk-backend SUSE:Manager Proxy Module 4.3All versions4.3.28-150400.3.41.7
spacewalk-certs-tools SUSE:Manager Proxy Module 4.3All versions4.3.23-150400.3.28.5
spacewalk-client-tools SUSE:Manager Proxy Module 4.3All versions4.3.19-150400.3.27.5
spacewalk-web SUSE:Manager Proxy Module 4.3All versions4.3.38-150400.3.42.6
uyuni-common-libs SUSE:Manager Proxy Module 4.3All versions4.3.10-150400.3.18.4
release-notes-susemanager SUSE:Manager Server 4.3All versions4.3.12-150400.3.108.2
cobbler SUSE:Manager Server Module 4.3All versions3.3.3-150400.5.42.5
image-sync-formula SUSE:Manager Server Module 4.3All versions0.1.1711646883.4a44375-150400.3.18.4
inter-server-sync SUSE:Manager Server Module 4.3All versions0.3.3-150400.3.30.4
jose4j SUSE:Manager Server Module 4.3All versions0.5.1-150400.3.9.4
smdba SUSE:Manager Server Module 4.3All versions1.7.13-0.150400.4.12.4
spacecmd SUSE:Manager Server Module 4.3All versions4.3.27-150400.3.36.5
spacewalk-backend SUSE:Manager Server Module 4.3All versions4.3.28-150400.3.41.7
spacewalk-certs-tools SUSE:Manager Server Module 4.3All versions4.3.23-150400.3.28.5
spacewalk-client-tools SUSE:Manager Server Module 4.3All versions4.3.19-150400.3.27.5
spacewalk-config SUSE:Manager Server Module 4.3All versions4.3.13-150400.3.15.5
spacewalk-java SUSE:Manager Server Module 4.3All versions4.3.73-150400.3.79.1
spacewalk-web SUSE:Manager Server Module 4.3All versions4.3.38-150400.3.42.6
subscription-matcher SUSE:Manager Server Module 4.3All versions0.37-150400.3.22.4
supportutils-plugin-susemanager SUSE:Manager Server Module 4.3All versions4.3.11-150400.3.21.4
susemanager SUSE:Manager Server Module 4.3All versions4.3.35-150400.3.48.6
susemanager-docs_en SUSE:Manager Server Module 4.3All versions4.3-150400.9.56.4
susemanager-schema SUSE:Manager Server Module 4.3All versions4.3.25-150400.3.39.5
susemanager-sls SUSE:Manager Server Module 4.3All versions4.3.41-150400.3.47.6
susemanager-sync-data SUSE:Manager Server Module 4.3All versions4.3.17-150400.3.25.4
uyuni-common-libs SUSE:Manager Server Module 4.3All versions4.3.10-150400.3.18.4
uyuni-reportdb-schema SUSE:Manager Server Module 4.3All versions4.3.10-150400.3.15.6

Products include Jose4j Project Jose4j.

How do I fix CVE-2023-51775?

Upgrade org.bitbucket.b_c:jose4j to 0.9.4 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-51775 being exploited?

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

Sources

Also known as DEBIAN-CVE-2023-51775, GHSA-6qvw-249j-h44c, MINI-689x-234f-9j38, MINI-74f5-5xx3-45rh, ROOT-APP-MAVEN-CVE-2023-51775, SUSE-SU-2024:1507-1 and 2 more.

Is CVE-2023-51775 in your software?

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

Check your SBOMs for free