CWE-1075: Unconditional Control Flow Transfer outside of Switch Block
The product performs unconditional control transfer (such as a "goto") in code outside of a branching structure such as a switch block.
Last updated
Overview
CWE-1075 (Unconditional Control Flow Transfer outside of Switch Block) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
1 recorded CVE is caused by CWE-1075 (Unconditional Control Flow Transfer outside of Switch Block).
Common consequences
What can happen when CWE-1075 is exploited.
Reduce Maintainability, Increase Analytical Complexity
Affects: Other
This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
How to detect it
Automated Static Analysis
Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Effectiveness: High
Terminology & mappings
Mapped taxonomies
- OMG ASCMM (ASCMM-MNT-1)
Frequently asked questions
Common questions about CWE-1075.
- What is CWE-1075?
- The product performs unconditional control transfer (such as a "goto") in code outside of a branching structure such as a switch block.
- What CVEs are caused by CWE-1075?
- 1 recorded CVE is attributed to CWE-1075: CVE-2022-48752.
- How is CWE-1075 detected?
- Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
- What are the consequences of CWE-1075?
- Exploiting CWE-1075 can lead to: Reduce Maintainability, Increase Analytical Complexity.
- Is CWE-1075 actively exploited?
- 1 recorded CVE is caused by CWE-1075; it is not currently in CISA's KEV catalog of actively exploited flaws.
Sources
References
- MITRE CWE definition (CWE-1075) (opens in a new tab)
- CWE-1075 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.21). CVE associations are aggregated and kept current by RadicalNotion.AI.
Track CWE-1075 CVEs
Get an alert when a new CWE-1075 CVE affects your products, with AI-written analysis and remediation steps.