CWE-642: External Control of Critical State Data, published in 2023
Filter
The product stores security-critical state information about its users, or the product itself, in a location that is accessible to unauthorized actors.
What the weakness is: CWE-642 at MITRE. OWASP Top 10: A06:2025 Insecure Design. All weaknesses
Related attack patterns (CAPEC): 2
- CAPEC-21 Exploitation of Trusted Identifiers Likelihood: High · Severity: High
- CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies Likelihood: High · Severity: High
The attack patterns MITRE's CAPEC relates to CWE-642, as MITRE names them. Credits.
Ask an AI about CWE-642
Show the prompt
Explain CWE-642: External Control of Critical State Data and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/642.html and https://cve.bz/cve/cwe/642?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.
By year: all 2026 2025 2024 2023 2022 2021
- 9.8CVE-2023-0575yugabyte yugabytedbEPSS 0.8%
External Control of Critical State Data, Improper Control of Generation of Code ('Code Injection') vulnerability in YugaByte, Inc. Yugabyte DB on Windows, Linux, MacOS, iOS (DevopsBase.Java:execCommand, TableManager.Java:runCommand modules…