CVE-2024-36128 Directus is soft-locked by providing a string value to random string util

High 7.5 Published Updated

Attackers can cause a denial of service in Directus by triggering a memory issue in the random string generator, preventing session refreshes.

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

What is CVE-2024-36128?

CVE-2024-36128 is a high-severity denial of service vulnerability in Monospace Directus, published on 3 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Directus is a real-time API and App dashboard for managing SQL database content. Prior to 10.11.2, providing a non-numeric length value to the random string generation utility will create a memory issue breaking the capability to generate random strings platform wide. This creates a denial of service situation where logged in sessions can no longer be refreshed as sessions depend on the capability to generate a random session ID. This vulnerability is fixed in 10.11.2.

Weakness: CWE-754

Which versions are affected by CVE-2024-36128?

2 open source packages ship an affected version, including directus. It affects 1 product.

PackageAffectedFixed in
directus npmAll versions10.11.2
directus npmAll versions10.11.2

Products include Monospace Directus.

How do I fix CVE-2024-36128?

Upgrade directus to 10.11.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-2024-36128 being exploited?

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

All Monospace Directus vulnerabilities

Sources

Also known as GHSA-632p-p495-25m5.

Is CVE-2024-36128 in your software?

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

Check your SBOMs for free