CVE-2021-42114
JSON

9.0critical

Scalable Rowhammering In the Frequency Domain to Bypass TRR Mitigations On Modern DDR4/LPDDR4X Devices

Severity
9.0critical CVSS:3.1 by NCSC.ch
Exploit likelihood
2.98% (higher than 87% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NCSC.ch

Description

Modern DRAM devices (PC-DDR4, LPDDR4X) are affected by a vulnerability in their internal Target Row Refresh (TRR) mitigation against Rowhammer attacks. Novel non-uniform Rowhammer access patterns, consisting of aggressors with different frequencies, phases, and amplitudes allow triggering bit flips on affected memory modules using our Blacksmith fuzzer. The patterns generated by Blacksmith were able to trigger bitflips on all 40 PC-DDR4 DRAM devices in our test pool, which cover the three major DRAM manufacturers: Samsung, SK Hynix, and Micron. This means that, even when chips advertised as Rowhammer-free are used, attackers may still be able to exploit Rowhammer. For example, this enables privilege-escalation attacks against the kernel or binaries such as the sudo binary, and also triggering bit flips in RSA-2048 keys (e.g., SSH keys) to gain cross-tenant virtual-machine access. We can confirm that DRAM devices acquired in July 2020 with DRAM chips from all three major DRAM vendors (Samsung, SK Hynix, Micron) are affected by this vulnerability. For more details, please refer to our publication.

Affected

Product or packageVersionsReported by
Micron Micron ddr4_sdram1CVE List
Samsung Samsung ddr4_sdram1CVE List
SK Hynix SK Hynix ddr4_sdram1CVE List
Micron Micron lpddr41CVE List
Samsung Samsung lpddr41CVE List
SK Hynix SK Hynix lpddr41CVE List
samsung ddr4_sdram_firmwareNot specifiedNVD
samsung lddr4_firmwareNot specifiedNVD
micron lddr4_firmwareNot specifiedNVD
micron ddr4_sdram_firmwareNot specifiedNVD
skhynix ddr4_sdram_firmwareNot specifiedNVD
skhynix lddr4_firmwareNot specifiedNVD

All scores

NCSC.ch9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD8.3high CVSS:3.1CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD7.9high CVSS:2.0AV:A/AC:M/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

Modern DRAM devices (PC-DDR4, LPDDR4X) are affected by a vulnerability in their internal Target Row Refresh (TRR) mitigation against Rowhammer attacks. Novel non-uniform Rowhammer access patterns, consisting of aggressors with different frequencies, phases, and amplitudes allow triggering bit flips on affected memory modules using our Blacksmith fuzzer. The patterns generated by Blacksmith were able to trigger bitflips on all 40 PC-DDR4 DRAM devices in our test pool, which cover the three major DRAM manufacturers: Samsung, SK Hynix, and Micron. This means that, even when chips advertised as Rowhammer-free are used, attackers may still be able to exploit Rowhammer. For example, this enables privilege-escalation attacks against the kernel or binaries such as the sudo binary, and also triggering bit flips in RSA-2048 keys (e.g., SSH keys) to gain cross-tenant virtual-machine access. We can confirm that DRAM devices acquired in July 2020 with DRAM chips from all three major DRAM vendors (Samsung, SK Hynix, Micron) are affected by this vulnerability. For more details, please refer to our publication.

NVD (es)

Los dispositivos DRAM modernos (PC-DDR4, LPDDR4X) están afectados por una vulnerabilidad en su mitigación interna Target Row Refresh (TRR) contra los ataques Rowhammer. Los nuevos patrones de acceso Rowhammer no uniformes, que consisten en agresores con diferentes frecuencias, fases y amplitudes, permiten desencadenar cambios de bits en los módulos de memoria afectados usando nuestro fuzzer Blacksmith. Los patrones generados por Blacksmith fueron capaces de desencadenar cambios de bits en los 40 dispositivos DRAM PC-DDR4 de nuestro grupo de pruebas, que cubren los tres principales fabricantes de DRAM: Samsung, SK Hynix y Micron. Esto significa que, incluso cuando son usados chips anunciados como libres de Rowhammer, los atacantes pueden seguir siendo capaces de explotar Rowhammer. Por ejemplo, esto permite realizar ataques de escalada de privilegios contra el kernel o los binarios como el binario sudo, y también desencadenar cambio de bits en las claves RSA-2048 (por ejemplo, las claves SSH) para conseguir acceso a máquinas virtuales de otros usuarios. Podemos confirmar que los dispositivos DRAM adquiridos en julio de 2020 con chips DRAM de los tres principales proveedores de DRAM (Samsung, SK Hynix, Micron) están afectados por esta vulnerabilidad. Para más detalles, consulte nuestra publicación

References

Sources

SourceRecordLicence
CVE ListCVE-2021-42114 changed 2024-09-17CVE Terms of Use
NVDCVE-2021-42114 changed 2026-06-17Public domain