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

Goal: 1000 CNY · Raised: 1310 CNY

100%

CWE-475 (从输入到API的未定义行为) — Vulnerability Class 10

10 vulnerabilities classified as CWE-475 (从输入到API的未定义行为). AI Chinese analysis included.

CWE-475 represents a critical programming weakness where an application invokes an API without adhering to its strict control parameter requirements, resulting in undefined behavior. This vulnerability typically arises when developers assume default states or omit necessary configuration steps, leading to unpredictable execution paths that may crash the system or expose sensitive memory states. Attackers exploit this by manipulating input to trigger these undefined states, potentially achieving arbitrary code execution or causing denial-of-service conditions through system instability. To mitigate this risk, developers must rigorously validate all API inputs against documented specifications before invocation. Implementing comprehensive input validation, utilizing static analysis tools to detect missing parameter checks, and enforcing strict adherence to API contracts during the design phase are essential strategies. By ensuring every control parameter is explicitly set to a valid, expected value, engineers can eliminate the ambiguity that leads to undefined behavior and enhance overall software resilience.

MITRE CWE Description
The behavior of this function is undefined unless its control parameter is set to a specific value.
Common Consequences (1)
OtherQuality Degradation, Varies by Context

Vulnerabilities classified as CWE-475 (从输入到API的未定义行为) represent 10 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.