Exposure of Resource to Wrong Sphere Affecting dirac package, versions [,8.0.41)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-DIRAC-6594193
- published 10 Apr 2024
- disclosed 9 Apr 2024
- credit Unknown
Introduced: 9 Apr 2024
CVE-2024-29905 Open this link in a new tabHow to fix?
Upgrade DIRAC
to version 8.0.41 or higher.
Overview
DIRAC is an interware, meaning a software framework for distributed computing.
Affected versions of this package are vulnerable to Exposure of Resource to Wrong Sphere during the proxy generation process, 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.
Note: This vulnerability only exists for a short period of time (sub-millsecond) during the generation process.
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
).