CVE-2024-29905 DIRAC: Unauthorized users can read proxy contents during generation

High 8.1 Published Updated

Unauthorized local users can read proxy contents during generation, allowing them to impersonate the victim and perform actions with the original proxy.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-29905?

CVE-2024-29905 is a high-severity vulnerability in DIRACGrid DIRAC, published on 9 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

DIRAC is an interware, meaning a software framework for distributed computing. Prior to version 8.0.41, during the proxy generation process (e.g., when using `dirac-proxy-init`), it is possible for unauthorized users on the same machine to gain read access to the proxy. This allows the user to then perform any action that is possible with the original proxy. This vulnerability only exists for a short period of time (sub-millsecond) during the generation process. Version 8.0.41 contains a patch for the issue. As a workaround, setting the `X509_USER_PROXY` environment variable to a path that is inside a directory that is only readable to the current user avoids the potential risk. After the file has been written, it can be safely copied to the standard location (`/tmp/x509up_uNNNN`).

Weakness: CWE-668

Which versions are affected by CVE-2024-29905?

3 open source packages ship an affected version, including dirac and DIRAC. It affects 1 product.

PackageAffectedFixed in
dirac PyPIAll versions8.0.41
dirac PyPIAll versions8.0.41
DIRAC PyPIAll versions8.0.41

Products include Diracgrid Dirac.

How do I fix CVE-2024-29905?

Upgrade dirac to 8.0.41 or later.

Is CVE-2024-29905 being exploited?

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

Sources

Also known as GHSA-v6f3-gh5h-mqwx, PYSEC-2026-1295.

Is CVE-2024-29905 in your software?

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

Check your SBOMs for free