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 package | Versions | Reported by |
|---|---|---|
| Micron Micron ddr4_sdram | 1 | CVE List |
| Samsung Samsung ddr4_sdram | 1 | CVE List |
| SK Hynix SK Hynix ddr4_sdram | 1 | CVE List |
| Micron Micron lpddr4 | 1 | CVE List |
| Samsung Samsung lpddr4 | 1 | CVE List |
| SK Hynix SK Hynix lpddr4 | 1 | CVE List |
| samsung ddr4_sdram_firmware | Not specified | NVD |
| samsung lddr4_firmware | Not specified | NVD |
| micron lddr4_firmware | Not specified | NVD |
| micron ddr4_sdram_firmware | Not specified | NVD |
| skhynix ddr4_sdram_firmware | Not specified | NVD |
| skhynix lddr4_firmware | Not specified | NVD |
All scores
| NCSC.ch | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 8.3high CVSS:3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.9high CVSS:2.0 | AV: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
| https://comsec.ethz.ch/research/dram/blacksmith/ | exploit, third-party-advisory | |
| https://github.com/comsec-group/blacksmith | exploit, third-party-advisory | |
| https://comsec.ethz.ch/wp-content/files/blacksmith_sp22.pdf | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42114 changed 2024-09-17 | CVE Terms of Use |
| NVD | CVE-2021-42114 changed 2026-06-17 | Public domain |