1. Archivio CVE
  2. 2023
  3. CVE-2023-22355

CVE-2023-22355

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

Uncontrolled search path in some Intel(R) oneAPI Toolkit and component software installers before version 4.3.0.251 may allow an authenticated user to potentially enable escalation of privilege via local access.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
intel advisor < 2023.0 oneapi
intel cpu runtime < 2023.0 opencl
intel distribution for python < 2023.0 –
intel dpc++ compatibility tool < 2023.0 –
intel embree ray tracing kernel library < 2023.0 –
intel fortran compiler < 2023.0 –
intel implicit spmd program compiler < 1.18.1 –
intel inspector < 2023.0 oneapi
intel integrated performance primitives < 2021.7 –
intel integrated performance primitives cryptography < 2021.6.3 –
intel mpi library < 2021.8 –
intel oneapi base toolkit < 2023.0 –
intel oneapi data analytics library < 2023.0 –
intel oneapi deep neural network library < 2023.0 –
intel oneapi dpc++ library < 2022.0 –
intel oneapi dpc++/c++ compiler < 2023.0 –
intel oneapi hpc toolkit < 2023.0.0 –
intel oneapi hpc toolkit 2023.0.0 –
intel oneapi iot toolkit < 2023.0 –
intel oneapi math kernel library < 2023.0 –
intel oneapi rendering toolkit < 2023.0 –
intel oneapi threading building blocks < 2021.8 –
intel oneapi toolkit and component software installers < 4.3.0.251 –
intel oneapi video processing library < 2023.0 –
intel open image denoise < 1.4.3 –
intel open volume kernel library < 2023.0 –
intel ospray < 2023.0 –
intel ospray studio < 2023.0 –
intel trace analyzer and collector < 2021.8.0 –
intel vtune profiler < 2023.0 –

Tipo di vulnerabilità

CWE-427 Elemento del percorso di ricerca non controllato

Il prodotto cerca le risorse in un elenco di percorsi, ma uno o più di quei percorsi possono essere controllati da soggetti non previsti, che vi collocano file malevoli (per esempio librerie).

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità Eseguire codice o comandi non autorizzati

Come si previene

Architettura e progettazione · Sviluppo · Riduzione della superficie di attacco Hard-code the search path to a set of known-safe values (such as system directories), or only allow them to be specified by the administrator in a configuration file. Do not allow these settings to be modified by an external party. Be careful to avoid related weaknesses such as CWE-426 and CWE-428.
Sviluppo · Riduzione della superficie di attacco When invoking other programs, specify those programs using fully-qualified pathnames. While this is an effective approach, code that uses fully-qualified pathnames might not be portable to other systems that do not use the same pathnames. The portability can be improved by locating the full-qualified paths in a centralized, easily-modifiable location within the source code, and having the code refer to these paths.
Sviluppo · Riduzione della superficie di attacco Remove or restrict all environment settings before invoking other programs. This includes the PATH environment variable, LD_LIBRARY_PATH, and other settings that identify the location of code libraries, and any application-specific search paths.
Sviluppo Check your search path before use and remove any elements that are likely to be unsafe, such as the current working directory or a temporary files directory. Since this is a denylist approach, it might not be a complete solution.
Sviluppo Use other functions that require explicit paths. Making use of any of the other readily available functions that require explicit paths is a safe way to avoid this problem. For example, system() in C does not require a full path since the shell can take care of finding the program using the PATH environment variable, while execl() and execv() require a full path.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 1.212 CVE di tipo CWE-427, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org