CVE-2024-29905
Assigner: GitHub_M
Published: 2024-04-09T16:49:48.158Z
State: PUBLISHED
title: DIRAC: Unauthorized users can read proxy contents during generation
problemTypes: descriptions: cweId: CWE-668
description: CWE-668: Exposure of Resource to Wrong Sphere
type: CWE
metrics: cvssV3_1: attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 8.1
baseSeverity: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
version: 3.1
affected: vendor: DIRACGrid
product: DIRAC
versions: version: < 8.0.41
status: affected
descriptions: value: 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`).
source: advisory: GHSA-v6f3-gh5h-mqwx
discovery: UNKNOWN