CVE-2021-27208 Memory corruption in n/a
An attacker with physical access can replace NAND flash to trigger a buffer overflow in the Zynq-7000 SoC ROM, leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-27208?
CVE-2021-27208 is a medium-severity memory corruption vulnerability in n/a, published on 15 Mar 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
When booting a Zync-7000 SOC device from nand flash memory, the nand driver in the ROM does not validate the inputs when reading in any parameters in the nand’s parameter page. IF a field read in from the parameter page is too large, this causes a buffer overflow that could lead to arbitrary code execution. Physical access and modification of the board assembly on which the Zynq-7000 SoC device mounted is needed to replace the original NAND flash memory with a NAND flash emulation device for this attack to be successful.
Weakness: CWE-120
Which versions are affected by CVE-2021-27208?
It affects 2 products.
Products include Xilinx Zynq-7000 Firmware, Xilinx Zynq-7000s Firmware.
How do I fix CVE-2021-27208?
No fix has been published for CVE-2021-27208 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-27208 being exploited?
There is no known exploitation of CVE-2021-27208 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pm8p-867f-r9w3.