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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-230 (缺失值处理不恰当) — Vulnerability Class 9

9 vulnerabilities classified as CWE-230 (缺失值处理不恰当). AI Chinese analysis included.

CWE-230 represents a logic error where software fails to properly manage parameters, fields, or arguments that are explicitly specified but lack associated values, resulting in empty, blank, or null inputs. This weakness is typically exploited by attackers who manipulate request structures to send malformed data, triggering unexpected application states, crashes, or denial-of-service conditions. In some cases, missing values can bypass security checks or cause unintended data exposure if the system defaults to insecure behaviors. To mitigate this risk, developers must implement robust input validation that explicitly checks for null or empty conditions before processing. By enforcing strict type checking and establishing clear default behaviors or error handling routines for absent data, engineers can ensure the application remains stable and secure, preventing attackers from leveraging these gaps to disrupt service or compromise system integrity.

MITRE CWE Description
The product does not handle or incorrectly handles when a parameter, field, or argument name is specified, but the associated value is missing, i.e. it is empty, blank, or null.
Common Consequences (1)
IntegrityUnexpected State
Examples (1)
This Android application has registered to handle a URL when sent an intent:
... IntentFilter filter = new IntentFilter("com.example.URLHandler.openURL"); MyReceiver receiver = new MyReceiver(); registerReceiver(receiver, filter); ... public class UrlHandlerReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, Intent intent) { if("com.example.URLHandler.openURL".equals(intent.getAction())) { String URL = intent.getStringExtra("URLToOpen"); int length = URL.length(); ... } } }
Bad · Java

Vulnerabilities classified as CWE-230 (缺失值处理不恰当) represent 9 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.