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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Fedora | dnf5daemon-server | 5.1.16<= | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | dnf5 | 5.1.11-3 | — |
| Azure Linux 2 (CBL-Mariner) | dnf5 | 5.0.14-3 | — |
Advisories 1
- WID-SEC-2024-0548 Linux: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 4, 2024