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

CVE-2023-20578

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

Descrizione

A TOCTOU (Time-Of-Check-Time-Of-Use) in SMM may allow an attacker with ring0 privileges and access to the BIOS menu or UEFI shell to modify the communications buffer potentially resulting in arbitrary code execution.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
amd epyc 7001 firmware < naplespi_1.0.0.k –
amd epyc 7203 firmware < milanpi_1.0.0.5 –
amd epyc 7203p firmware < milanpi_1.0.0.5 –
amd epyc 7232p firmware < romepi_1.0.0.g –
amd epyc 7251 firmware < naplespi_1.0.0.k –
amd epyc 7252 firmware < romepi_1.0.0.g –
amd epyc 7261 firmware < naplespi_1.0.0.k –
amd epyc 7262 firmware < romepi_1.0.0.g –
amd epyc 7272 firmware < romepi_1.0.0.g –
amd epyc 7281 firmware < naplespi_1.0.0.k –
amd epyc 7282 firmware < romepi_1.0.0.g –
amd epyc 72f3 firmware < milanpi_1.0.0.5 –
amd epyc 7301 firmware < naplespi_1.0.0.k –
amd epyc 7302 firmware < romepi_1.0.0.g –
amd epyc 7302p firmware < romepi_1.0.0.g –
amd epyc 7303 firmware < milanpi_1.0.0.5 –
amd epyc 7303p firmware < milanpi_1.0.0.5 –
amd epyc 7313 firmware < milanpi_1.0.0.5 –
amd epyc 7313p firmware < milanpi_1.0.0.5 –
amd epyc 7343 firmware < milanpi_1.0.0.5 –
amd epyc 7351 firmware < naplespi_1.0.0.k –
amd epyc 7351p firmware < naplespi_1.0.0.k –
amd epyc 7352 firmware < romepi_1.0.0.g –
amd epyc 7371 firmware < naplespi_1.0.0.k –
amd epyc 7373x firmware < milanpi_1.0.0.5 –
amd epyc 73f3 firmware < milanpi_1.0.0.5 –
amd epyc 7401 firmware < naplespi_1.0.0.k –
amd epyc 7401p firmware < naplespi_1.0.0.k –
amd epyc 7402 firmware < romepi_1.0.0.g –
amd epyc 7402p firmware < romepi_1.0.0.g –
amd epyc 7413 firmware < milanpi_1.0.0.5 –
amd epyc 7443 firmware < milanpi_1.0.0.5 –
amd epyc 7443p firmware < milanpi_1.0.0.5 –
amd epyc 7451 firmware < naplespi_1.0.0.k –
amd epyc 7452 firmware < romepi_1.0.0.g –
amd epyc 7453 firmware < milanpi_1.0.0.5 –
amd epyc 7473x firmware < milanpi_1.0.0.5 –
amd epyc 74f3 firmware < milanpi_1.0.0.5 –
amd epyc 7501 firmware < naplespi_1.0.0.k –
amd epyc 7502 firmware < romepi_1.0.0.g –
amd epyc 7502p firmware < romepi_1.0.0.g –
amd epyc 7513 firmware < milanpi_1.0.0.5 –
amd epyc 7532 firmware < romepi_1.0.0.g –
amd epyc 7542 firmware < romepi_1.0.0.g –
amd epyc 7543 firmware < milanpi_1.0.0.5 –
amd epyc 7543p firmware < milanpi_1.0.0.5 –
amd epyc 7551 firmware < naplespi_1.0.0.k –
amd epyc 7551p firmware < naplespi_1.0.0.k –
amd epyc 7552 firmware < romepi_1.0.0.g –
amd epyc 7573x firmware < milanpi_1.0.0.5 –
amd epyc 75f3 firmware < milanpi_1.0.0.5 –
amd epyc 7601 firmware < naplespi_1.0.0.k –
amd epyc 7642 firmware < romepi_1.0.0.g –
amd epyc 7643 firmware < milanpi_1.0.0.5 –
amd epyc 7643p firmware < milanpi_1.0.0.5 –
amd epyc 7662 firmware < romepi_1.0.0.g –
amd epyc 7663 firmware < milanpi_1.0.0.5 –
amd epyc 7663p firmware < milanpi_1.0.0.5 –
amd epyc 7702 firmware < romepi_1.0.0.g –
amd epyc 7702p firmware < romepi_1.0.0.g –
amd epyc 7713 firmware < milanpi_1.0.0.5 –
amd epyc 7713p firmware < milanpi_1.0.0.5 –
amd epyc 7742 firmware < romepi_1.0.0.g –
amd epyc 7763 firmware < milanpi_1.0.0.5 –
amd epyc 7773x firmware < milanpi_1.0.0.5 –
amd epyc 7f32 firmware < romepi_1.0.0.g –
amd epyc 7f52 firmware < romepi_1.0.0.g –
amd epyc 7f72 firmware < romepi_1.0.0.g –
amd epyc 7h12 firmware < romepi_1.0.0.g –
amd epyc 8024p firmware < genoapi_1.0.0.2 –
amd epyc 8024pn firmware < genoapi_1.0.0.2 –
amd epyc 8124p firmware < genoapi_1.0.0.2 –
amd epyc 8124pn firmware < genoapi_1.0.0.2 –
amd epyc 8224p firmware < genoapi_1.0.0.2 –
amd epyc 8224pn firmware < genoapi_1.0.0.2 –
amd epyc 8324p firmware < genoapi_1.0.0.2 –
amd epyc 8324pn firmware < genoapi_1.0.0.2 –
amd epyc 8434p firmware < genoapi_1.0.0.2 –
amd epyc 8434pn firmware < genoapi_1.0.0.2 –
amd epyc 8534p firmware < genoapi_1.0.0.2 –
amd epyc 8534pn firmware < genoapi_1.0.0.2 –
amd epyc 9124 firmware < genoapi_1.0.0.2 –
amd epyc 9174f firmware < genoapi_1.0.0.2 –
amd epyc 9184x firmware < genoapi_1.0.0.2 –
amd epyc 9224 firmware < genoapi_1.0.0.2 –
amd epyc 9254 firmware < genoapi_1.0.0.2 –
amd epyc 9274f firmware < genoapi_1.0.0.2 –
amd epyc 9334 firmware < genoapi_1.0.0.2 –
amd epyc 9354 firmware < genoapi_1.0.0.2 –
amd epyc 9354p firmware < genoapi_1.0.0.2 –
amd epyc 9374f firmware < genoapi_1.0.0.2 –
amd epyc 9384x firmware < genoapi_1.0.0.2 –
amd epyc 9454 firmware < genoapi_1.0.0.2 –
amd epyc 9454p firmware < genoapi_1.0.0.2 –
amd epyc 9474f firmware < genoapi_1.0.0.2 –
amd epyc 9534 firmware < genoapi_1.0.0.2 –
amd epyc 9554 firmware < genoapi_1.0.0.2 –
amd epyc 9554p firmware < genoapi_1.0.0.2 –
amd epyc 9634 firmware < genoapi_1.0.0.2 –
amd epyc 9654 firmware < genoapi_1.0.0.2 –

Mostrate 100 configurazioni su 105. L'elenco completo è su NVD.

Tutte le 16 vulnerabilità di Amd Epyc 9554 Firmware

Tipo di vulnerabilità

CWE-367 Race condition TOCTOU (Time-of-check Time-of-use)

Il prodotto controlla lo stato di una risorsa prima di usarla, ma lo stato può cambiare tra il controllo e l’uso, rendendo il controllo inutile.

Impatto sui sistemi

AmbitoImpatto
Integrità, Altro Alterare la logica di esecuzione, Stato imprevisto
Integrità, Altro Modificare i dati dell’applicazione, Modificare file o cartelle, Modificare la memoria, Altro
Integrità, Altro Altro
Non ripudio Nascondere le proprie attività
Non ripudio, Altro Altro
Altro Stato imprevisto

Come si previene

Sviluppo The most basic advice for TOCTOU vulnerabilities is to not perform a check before the use. This does not resolve the underlying issue of the execution of a function on a resource whose state and identity cannot be assured, but it does help to limit the false sense of security given by the check.
Sviluppo When the file being altered is owned by the current user and group, set the effective gid and uid to that of the current user and group when executing this statement.
Architettura e progettazione Limit the interleaving of operations on files from multiple processes.
Sviluppo · Architettura e progettazione If you cannot perform operations atomically and you must share access to the resource between multiple processes or threads, then try to limit the amount of time (CPU cycles) between the check and use of the resource. This will not fix the problem, but it could make it more difficult for an attack to succeed.
Sviluppo Recheck the resource after the use call to verify that the action was taken appropriately.
Architettura e progettazione Ensure that some environmental locking mechanism can be used to protect resources effectively.
Sviluppo Ensure that locking occurs before the check, as opposed to afterwards, such that the resource, as checked, is the same as it is when in use.

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

Tutte le 922 CVE di tipo CWE-367, con andamento e prevenzione

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