CVE-2024-29905
JSON

8.1high

DIRAC: Unauthorized users can read proxy contents during generation

Severity
8.1high CVSS:3.1 by GitHub_M
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v6f3-gh5h-mqwxPYSEC-2026-1295

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`).

Affected

Product or packageVersionsReported by
DIRACGrid DIRAC< 8.0.41, before 8.0.41CVE List, NVD
dirac (PyPI)before 8.0.41GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
GitHub8.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L

Classification

CWE-668

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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`).

GitHub Advisory Database
Impact

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.

Patches

Has the problem been patched? What versions should users upgrade to?

Workarounds

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).

References
NVD (es)

DIRAC es un interware, es decir, un marco de software para informática distribuida. Antes de la versión 8.0.41, durante el proceso de generación del proxy (por ejemplo, cuando se usa `dirac-proxy-init`), es posible que usuarios no autorizados en la misma máquina obtengan acceso de lectura al proxy. Esto permite al usuario realizar cualquier acción posible con el proxy original. Esta vulnerabilidad solo existe durante un corto período de tiempo (menos de un milisegundo) durante el proceso de generación. La versión 8.0.41 contiene un parche para el problema. Como workaround, configurar la variable de entorno `X509_USER_PROXY` en una ruta que esté dentro de un directorio que solo sea legible para el usuario actual evita el riesgo potencial. Una vez escrito el archivo, se puede copiar de forma segura a la ubicación estándar (`/tmp/x509up_uNNNN`).

References

Sources

SourceRecordLicence
CVE ListCVE-2024-29905 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-v6f3-gh5h-mqwx changed 2026-07-07CC-BY-4.0
NVDCVE-2024-29905 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1295 changed 2026-07-07CC-BY-4.0