Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-910 (使用过期的文件描述符) — Vulnerability Class 1

1 vulnerabilities classified as CWE-910 (使用过期的文件描述符). AI Chinese analysis included.

CWE-910 represents a resource management weakness where software incorrectly accesses a file descriptor after it has been closed. This vulnerability arises because operating systems often reuse file descriptor numbers for new resources, meaning the previously closed descriptor may now point to a completely different file or device. Attackers typically exploit this by triggering the closure and then manipulating the application to write to the reused descriptor, potentially leading to unauthorized data modification, information disclosure, or denial of service. To prevent this, developers must rigorously manage resource lifecycles by nullifying or invalidating pointers immediately after closing descriptors. Implementing strict state checks before any I/O operation and utilizing higher-level abstractions that handle resource cleanup automatically can significantly reduce the risk of accessing stale or reused file handles.

MITRE CWE Description
The product uses or accesses a file descriptor after it has been closed. After a file descriptor for a particular file or device has been released, it can be reused. The code might not write to the original file, since the reused file descriptor might reference a different file or device.
Common Consequences (2)
ConfidentialityRead Files or Directories
The program could read data from the wrong file.
AvailabilityDoS: Crash, Exit, or Restart
Accessing a file descriptor that has been closed can cause a crash.
CVE IDTitleCVSSSeverityPublished
CVE-2020-13530 Eipstackgroup Opener 资源管理错误漏洞 — EIP Stack Group 7.5 -2020-12-11

Vulnerabilities classified as CWE-910 (使用过期的文件描述符) represent 1 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.