CVE-2024-1930 No Limit on Number of Open Sessions / Bad Session Close Behaviour

Medium 6.5 Published Updated

A malicious user can exhaust system memory and prevent new connections by creating unlimited sessions in dnf5daemon-server, causing a denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-1930?

CVE-2024-1930 is a medium-severity denial of service vulnerability in Fedora dnf5daemon-server, published on 8 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

No Limit on Number of Open Sessions / Bad Session Close Behaviour in dnf5daemon-server before 5.1.17 allows a malicious user to impact Availability via No Limit on Number of Open Sessions.

There is no limit on how many sessions D-Bus clients may create using the `open_session()` D-Bus method. For each session a thread is created in dnf5daemon-server. This spends a couple of hundred megabytes of memory in the process. Further connections will become impossible, likely because no more threads can be spawned by the D-Bus service.

Weakness: CWE-400

Which versions are affected by CVE-2024-1930?

It affects 1 product.

Products include Rpm-Software-Management Dnf5.

How do I fix CVE-2024-1930?

Upgrade to a fixed version.

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-1930 being exploited?

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

Sources

Also known as AZL-40343, AZL-66105, GHSA-p6mc-xxvv-r37f.

Is CVE-2024-1930 in your software?

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

Check your SBOMs for free