10 vulnerabilities classified as CWE-1244. AI Chinese analysis included.
CWE-1244 represents a configuration weakness where internal system assets are incorrectly assigned to an overly permissive debug access level, exposing them to untrusted debug agents. This vulnerability typically arises when developers fail to restrict physical debug interfaces, such as JTAG or SWD, to appropriate security states during production. Attackers exploit this misconfiguration by connecting unauthorized hardware debuggers to the device, bypassing standard authentication mechanisms to read sensitive memory, extract cryptographic keys, or modify firmware. To prevent this, developers must enforce strict hardware security features, such as enabling readout protection or locking debug ports after manufacturing. Additionally, implementing secure boot processes and ensuring that debug interfaces are physically disabled or logically restricted in production builds are critical measures to mitigate the risk of unintended access to critical internal assets.
1 bit 0x0 = JTAG debugger is enabled (default) JTAG_SHIELD 0x1 = JTAG debugger is disabledThe default value of this register bit should be set to 1 to prevent the JTAG from being enabled at system reset.module csr_regfile #( ... // check that we actually want to enter debug depending on the privilege level we are currently in unique case (priv_lvl_o) riscv::PRIV_LVL_M: begin debug_mode_d = dcsr_q.ebreakm; ... riscv::PRIV_LVL_U: begin debug_mode_d = dcsr_q.ebreaku; ... assign priv_lvl_o = (debug_mode_q || umode_i) ? riscv::PRIV_LVL_M : priv_lvl_q; ... debug_mode_q <= debug_mode_d; ...module csr_regfile #( ... // check that we actually want to enter debug depending on the privilege level we are currently in unique case (priv_lvl_o) riscv::PRIV_LVL_M: begin debug_mode_d = dcsr_q.ebreakm; ... riscv::PRIV_LVL_U: begin debug_mode_d = dcsr_q.ebreaku; ... assign priv_lvl_o = (debug_mode_q && umode_i) ? riscv::PRIV_LVL_M : priv_lvl_q; ... debug_mode_q <= debug_mode_d; ...Vulnerabilities classified as CWE-1244 represent 10 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.