CVE-2021-42114: DRAM - Rowhammer
- Cve: CVE-2021-42114
- Name: DRAM - Rowhammer
- 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.
- Impact: Attackers can induce bit flips to escalate privileges or compromise cryptographic keys, risking system integrity and security.
- Remediation: Implement hardware updates or firmware patches that address TRR mitigation flaws; consult manufacturer advisories for specific solutions.
- Vulnerability impact: privilege_escalation, information_disclosure
- Requirement type: user_interaction
- Requirements: Attacker needs to generate specific non-uniform access patterns to DRAM
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.3
- Cvss vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.02984
- Epss percentile: 0.87536
- Assignee: [email protected]
- Published at: 2021-11-16T12:15:06Z
- Age in days: 1834
- Modified at: 2026-06-17T04:09:20Z
- Public exploits total: 3
- References total: 3
- Products total: 6
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42114
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-Other | — |
Public exploits
Same in every row:
- Source: nvd
- Added date: 2021-11-16
| Url |
|---|
| https://comsec.ethz.ch/research/dram/blacksmith/ |
| https://comsec.ethz.ch/wp-content/files/blacksmith_sp22.pdf |
| https://github.com/comsec-group/blacksmith |
References
Same in every row:
- Source: nvd
- Tags: Exploit, Third Party Advisory
| Url |
|---|
| https://comsec.ethz.ch/research/dram/blacksmith/ |
| https://comsec.ethz.ch/wp-content/files/blacksmith_sp22.pdf |
| https://github.com/comsec-group/blacksmith |
Products
Same in every row:
- Affected: all versions
- Platform bound: yes
- Sources: nvd
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2021-11-16
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts