6.8
MEDIUM
CVE-2021-27208
Zynq-7000 NAND Flash Buffer Overflow
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.

INFO

Published Date :

March 15, 2021, 1:15 p.m.

Last Modified :

Nov. 21, 2024, 5:57 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

0.9
Affected Products

The following products are affected by CVE-2021-27208 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Xilinx zynq-7000s_firmware
2 Xilinx zynq-7000_firmware
3 Xilinx zynq-7000s
4 Xilinx zynq-7000
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-27208.

URL Resource
http://www.onfi.org/specifications Not Applicable
https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html Product Vendor Advisory
https://www.xilinx.com/support/answers/76201.html Vendor Advisory
http://www.onfi.org/specifications Not Applicable
https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html Product Vendor Advisory
https://www.xilinx.com/support/answers/76201.html Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-27208 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-27208 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://www.onfi.org/specifications
    Added Reference https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html
    Added Reference https://www.xilinx.com/support/answers/76201.html
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Mar. 30, 2021

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Mar. 24, 2021

    Action Type Old Value New Value
    Changed 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 to the Zynq-7000 device is needed to replace the original nand flash memory with a nand flash emulator for this attack to be successful. 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.
  • Initial Analysis by [email protected]

    Mar. 18, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.onfi.org/specifications No Types Assigned http://www.onfi.org/specifications Not Applicable
    Changed Reference Type https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html No Types Assigned https://www.xilinx.com/products/silicon-devices/soc/zynq-7000.html Product, Vendor Advisory
    Changed Reference Type https://www.xilinx.com/support/answers/76201.html No Types Assigned https://www.xilinx.com/support/answers/76201.html Vendor Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration AND OR *cpe:2.3:o:xilinx:zynq-7000s_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:xilinx:zynq-7000s:-:*:*:*:*:*:*:*
    Added CPE Configuration AND OR *cpe:2.3:o:xilinx:zynq-7000_firmware:-:*:*:*:*:*:*:* OR cpe:2.3:h:xilinx:zynq-7000:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 15, 2021

    Action Type Old Value New Value
    Removed Reference https://www.xilinx.com/support.html [No Types Assigned]
    Added Reference https://www.xilinx.com/support/answers/76201.html [No Types Assigned]
    Added Reference http://www.onfi.org/specifications [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-27208 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.21 }} 0.01%

score

0.58241

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability