CWE-710

Improper Adherence to Coding Standards

Weakness Description

The product does not follow certain coding rules for development, which can lead to resultant weaknesses or increase the severity of the associated vulnerabilities.

Potential Mitigations

Policy

Select and require coding standards. Ensure that they include security concerns.

Implementation

Closely follow coding standards, possibly enforcing them upon checkin of the code into a source control system or with periodic analyses.

Common Consequences

Other
Other

Detection Methods

Automated Static Analysis

Automated tools can detect violations of many code standards.

Advertisement