引入方式
Implementation
Manufacturing
Installation
System Configuration
Operation
適用平台
程式語言
類別: Not Language-Specific (Undetermined)
作業系統
類別: Not OS-Specific (Undetermined)
架構
類別: Not Architecture-Specific (Undetermined)
技術
類別: Not Technology-Specific (Undetermined)
常見後果
| 範圍 |
影響 |
可能性 |
| Confidentiality | Read Memory, Read Application Data, Unexpected State | Unknown |
Authorization Integrity | Gain Privileges or Assume Identity | |
| Other | Varies by Context
注意:The technical impact can vary widely based on how the resource is used in the product, and whether its contents affect security decisions. | |
觀察到的案例
| 參考資料 |
描述 |
| Chain: microcontroller system-on-chip uses a register value stored in flash to set product protection state on the memory bus and does not contain protection against fault injection (CWE-1319) which leads to an incorrect initialization of the memory bus (CWE-1419) causing the product to be in an unprotected state. |
| Chain: a change in an underlying package causes the gettext function to use implicit initialization with a hard-coded path (CWE-1419) under the user-writable C:\ drive, introducing an untrusted search path element (CWE-427) that enables spoofing of messages. |
| WordPress module sets internal variables based on external inputs, allowing false reporting of the number of views |
| insecure default variable initialization in BIOS firmware for a hardware board allows DoS |
| distributed filesystem only initializes part of the variable-length padding for a packet, allowing attackers to read sensitive information from previously-sent packets in the same memory location |
潛在緩解措施
Phases : Implementation
Choose the safest-possible initialization for security-related resources.
Phases : Implementation
Ensure that each resource (whether variable, memory buffer, register, etc.) is fully initialized.
Phases : Implementation
Pay close attention to complex conditionals or reset sources that affect initialization, since some paths might not perform the initialization.
Phases : Architecture and Design
Ensure that the design and architecture clearly identify what the initialization should be, and that the initialization does not have security implications.
偵測方法
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
漏洞對應備注
理由說明 : This CWE entry is a Class and might have Base-level children that would be more appropriate
備註 : Examine children of this entry to see if there is a better fit
參考資料
REF-1437
acct_wrapper.sv
https://github.com/HACK-EVENT/hackatdac21/blob/65d0ffdab7426da4509c98d62e163bcce642f651/piton/design/chip/tile/ariane/src/acct/acct_wrapper.sv#L39 REF-1438
Bad Code acct_wrapper.sv
https://github.com/HACK-EVENT/hackatdac21/blob/65d0ffdab7426da4509c98d62e163bcce642f651/piton/design/chip/tile/ariane/src/acct/acct_wrapper.sv#L79C1-L86C16 REF-1439
Good Code acct_wrapper.sv
https://github.com/HACK-EVENT/hackatdac21/blob/062de4f25002d2dcbdb0a82af36b80a517592612/piton/design/chip/tile/ariane/src/acct/acct_wrapper.sv#L84
提交
| 名稱 |
機構 |
日期 |
發布日期 |
Version |
| CWE Content Team |
MITRE |
2023-10-11 +00:00 |
2023-10-26 +00:00 |
4.13 |
修改記錄
| 名稱 |
機構 |
日期 |
備註 |
| CWE Content Team |
MITRE |
2024-07-16 +00:00 |
updated Demonstrative_Examples, References |
| CWE Content Team |
MITRE |
2025-12-11 +00:00 |
updated Detection_Factors, Weakness_Ordinalities |
| CWE Content Team |
MITRE |
2026-10-28 +00:00 |
updated Demonstrative_Examples, Description, Modes_of_Introduction |