CWE-908: Use of Uninitialized Resource

CWE-908 là gì?

CWE-908 là Use of Uninitialized Resource. Lỗi phát sinh khi the product uses or accesses a resource that has not been initialized. Hiện có 135 lỗ hổng trong kho dữ liệu liên quan đến CWE-908 và 1 trong số đó nằm trong danh mục khai thác thực tế của CISA.

Chưa thể hoàn tất phân tích. Vui lòng thử lại.

Thứ hạng OWASP Top 10-
Tổng số CVE liên quan (365 ngày)135
Mức trừu tượngCơ bản
Khả năng khai thácTrung bình

Số lượng lỗ hổng nằm trong CWE-908

135 lỗ hổngTăng 382% so với cùng kỳ

Số lượng lỗ hổng trong CISA KEV của CWE-908

1 lỗ hổng

Định nghĩa chính thức

TheoMitre CWE

Đặc điểm

Dữ liệu MITRE CWE chính thức

Giai đoạn hình thành

  • Hiện thực hóa

Hậu quả thường gặp

Dữ liệu MITRE CWE chính thức
Tác độngPhạm viDiễn giải
Đọc bộ nhớ, Đọc dữ liệu ứng dụngTính bí mậtWhen reusing a resource such as memory or a program variable, the original contents of that resource may not be cleared before it is sent to an untrusted party.
Từ chối dịch vụ: sập, thoát hoặc khởi động lạiTính sẵn sàngThe uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend.

Biện pháp giảm thiểu rủi ro

Dữ liệu MITRE CWE chính thức
  1. Hiện thực hóaExplicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required steps.
  2. Hiện thực hóaPay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
  3. Hiện thực hóaAvoid race conditions (CWE-362) during initialization routines.
  4. Xây dựng và biên dịchRun or compile the product with settings that generate warnings about uninitialized variables or data.

Cách phát hiện trong hệ thống

Dữ liệu MITRE CWE chính thức
Phương phápCách làmHiệu quả
Phân tích tĩnh tự độngAutomated 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.)Cao

Lỗ hổng điển hình

Dữ liệu MITRE CWE chính thức

Dưới đây là các lỗ hổng tiêu biểu liên quan đến CWE-908, dựa theo mức độ ưu tiên

Nguồn (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Tìm hiểu thêm

Kiểm tra chuyên sâu cùng giải pháp quản lý rủi ro Web toàn diện

Giải pháp CyStack VulnScan liên tục phát hiện tài sản, xác minh lỗ hổng và giúp đội ngũ bảo mật ưu tiên khắc phục cho toàn bộ doanh nghiệp.