Base · Medium

CWE-1119: Excessive Use of Unconditional Branching

The code uses too many unconditional branches (such as "goto").

CWE-1119 · Base Level

Description

The code uses too many unconditional branches (such as "goto").

Potential Impact

Other

Reduce Maintainability, Increase Analytical Complexity

Frequently Asked Questions

What is CWE-1119?

CWE-1119 (Excessive Use of Unconditional Branching) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The code uses too many unconditional branches (such as "goto").

How can CWE-1119 be exploited?

Attackers can exploit CWE-1119 (Excessive Use of Unconditional Branching) to reduce maintainability, increase analytical complexity. This weakness is typically introduced during the Implementation phase of software development.

How do I prevent CWE-1119?

Follow secure coding practices, conduct code reviews, and use automated security testing tools (SAST/DAST) to detect this weakness early in the development lifecycle.

What is the severity of CWE-1119?

CWE-1119 is classified as a Base-level weakness (Medium abstraction). Its actual severity depends on the specific context and how the weakness manifests in your application.