Base · Medium

CWE-1107: Insufficient Isolation of Symbolic Constant Definitions

The source code uses symbolic constants, but it does not sufficiently place the definitions of these constants into a more centralized or isolated location.

CWE-1107 · Base Level

Description

The source code uses symbolic constants, but it does not sufficiently place the definitions of these constants into a more centralized or isolated location.

Potential Impact

Other

Reduce Maintainability

Frequently Asked Questions

What is CWE-1107?

CWE-1107 (Insufficient Isolation of Symbolic Constant Definitions) is a software weakness identified by MITRE's Common Weakness Enumeration. It is classified as a Base-level weakness. The source code uses symbolic constants, but it does not sufficiently place the definitions of these constants into a more centralized or isolated location.

How can CWE-1107 be exploited?

Attackers can exploit CWE-1107 (Insufficient Isolation of Symbolic Constant Definitions) to reduce maintainability. This weakness is typically introduced during the Implementation phase of software development.

How do I prevent CWE-1107?

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-1107?

CWE-1107 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.