CWE-710: Improper Adherence to Coding Standards
Official CWE-710 CWE context with Glexia analysis, remediation guidance, related CVEs, and ATT&CK context.
Glexia's Take
CWE-710: Improper Adherence to Coding Standards
Improper Adherence to Coding Standards represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Executive Impact
- Other: Other
Developer Pattern
CWE-710 is the kind of defect developers can usually prevent with explicit validation, safer framework defaults, and tests that exercise hostile input or unsafe state transitions.
Confidence
high confidence from CWE-710, 4.20.
Official CWE Definition
CWE-710: Improper Adherence to Coding Standards
The product does not follow certain coding rules for development, which can lead to resultant weaknesses or increase the severity of the associated vulnerabilities.
Developer And Remediation Guidance
How teams prevent and detect this weakness
Causes
- Missing validation
- Unsafe defaults
- Insufficient authorization or memory-safety invariant
Remediation
- 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.
Detection
- Automated Static Analysis: Automated tools can detect violations of many code standards.
Mappings
Related CVEs, CWEs, and ATT&CK context
Related CWEs
- CWE-1041: Use of Redundant Code
- CWE-1044: Architecture with Number of Horizontal Layers Outside of Expected Range
- CWE-1048: Invokable Control Element with Large Number of Outward Calls
- CWE-1059: Insufficient Technical Documentation
- CWE-1061: Insufficient Encapsulation
- CWE-1065: Runtime Resource Management Control Element in a Component Built to Run on Application Servers
- CWE-1066: Missing Serialization Control Element
- CWE-1068: Inconsistency Between Implementation and Documented Design
- CWE-1076: Insufficient Adherence to Expected Conventions
- CWE-1092: Use of Same Invokable Control Element in Multiple Architectural Layers
- CWE-1093: Excessively Complex Data Representation
- CWE-1101: Reliance on Runtime Component in Generated Code
ATT&CK Relevance
ATT&CK relevance is shown only when reviewed or responsibly inferred.