CWE-Referenz › CWE-475: Undefined Behavior for Input to API
CWE-475: Undefined Behavior for Input to API
CWE ID: 475
Name: Undefined Behavior for Input to API
Beschreibung
Here are a few options for translating “The behavior of this function is undefined unless its control parameter is set to a specific value,” maintaining a professional and technical tone and retaining key English terms:
Option 1 (Concise & Direct):
“The behavior of this function is undefined unless the control parameter is set to a specific value.”
Option 2 (More Explicit):
“The function’s behavior is undefined unless the control parameter is assigned a specific value.”
Option 3 (Emphasis on Potential Issues):
“The function’s behavior is undefined and potentially unpredictable unless the control parameter is set to a specific value.”
Option 4 (Stronger Warning):
“The function’s behavior is undefined and may lead to unexpected results unless the control parameter is explicitly set to a specific value.”
Key Considerations:
- “Explicitly”: Adds emphasis on the need for deliberate setting of the parameter.
- “Unexpected results”: Highlights the potential negative consequences.
To help me refine the translation further, could you tell me:
- What is the context of this statement? (e.g., documentation, error message, code comment?)
- Is there a need to emphasize the severity of the undefined behavior?
Verwandte Schwachstellen
Ist Ihre IT-Infrastruktur betroffen?
Schwachstellen wie CWE-475: Undefined Behavior for Input to API werden von Angreifern gezielt gesucht — meist automatisiert und ohne Rücksicht darauf, wie groß das betroffene Unternehmen ist. Ob eine solche Lücke bei Ihnen tatsächlich offen steht, lässt sich nur durch Prüfung feststellen:
- Schwachstellen-Scan — wiederkehrende Prüfung Ihrer Infrastruktur auf bekannte Lücken wie diese
- Penetrationstest — manuelle Prüfung eigener Software auf Schwachstellen, die kein Werkzeug findet
- Threat Modeling — Schwachstellenklassen im Entwurf vermeiden, statt sie später zu suchen