A.8.28 Technological
Secure coding
Structured attributes from ISO/IEC 27002:2022 — control type · CIA properties · cybersecurity concept · operational capability · security domain. What do these mean?
Mapped NIST 800-53 r5 controls (17)
Our reading (mostly llm_verified) of how this ISO control and each NIST 800-53 control relate. Not an ISO or NIST product.
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Aligned NIST CSF 2.0 outcomes (23)
NIST CSF 2.0 outcomes this ISO control aligns with — our analysis (mostly llm_verified).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Why these map — rationale
- PR.PS-06fullcovers — The ISO control establishes organization-wide secure coding governance, standards, tool configuration, developer qualification, threat-informed continual improvement, and third-party component vetting—directly fulfilling the CSF outcome of integrating and monitoring secure software development practices.
Related OWASP ASVS 5.0 requirements (15)
Application-security verification requirements (OWASP ASVS 5.0) this ISO control aligns with; links open the ASVS chapter. Our analysis (mostly llm_verified) — many ISO controls have no ASVS counterpart.
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Why these map — rationale
- V15.1.2mostlycovers — The ISO control's requirement to maintain an inventory of third-party and open-source libraries with version tracking directly implements the ASVS mandate for an SBOM-style catalog of all third-party components.
- V15.2.1mostlycovers — Requiring that components stay within documented remediation timeframes for vulnerabilities is the direct operational outcome of the ISO control's continual monitoring of threats and vulnerabilities.
Related weaknesses / CWE (2605)
Weakness classes this ISO control helps prevent or mitigate — our analysis (mostly llm_verified).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Why these map — rationale
- CWE-1004partialprevents — Secure coding standards explicitly require the HttpOnly flag for sensitive cookies.
- CWE-1007partialprevents — A.8.28's secure coding principles, threat modelling, and prohibition of insecure design techniques can address homoglyph handling if the organization's standards specifically cover character-set restrictions in identifiers, IDN/punycode conversion, and mixed-script display warnings — but this is a niche concern that most secure coding programmes do not explicitly include, and the clause's mechanism is fallible human practice, so only a minority of instances are kept from arising.
- CWE-102partialprevents — Secure coding rules directly prevent duplicate Struts validation forms.
- CWE-1021partialprevents — Secure coding practices directly require implementation of frame-busting headers or CSP frame-ancestors directives.
- CWE-1022partialprevents — Secure coding standards directly require the use of rel="noopener noreferrer" on external links, eliminating the weakness.
- CWE-1023partialprevents — Secure coding standards can forbid incomplete comparisons, but the control covers a wide range of coding issues.
- CWE-1024partialprevents — Secure coding standards directly require type-safe comparisons and compiler warnings for incompatible types.
- CWE-1025partialprevents — Secure coding standards directly address proper comparison logic and factor selection.
- CWE-103partialprevents — A.8.28's secure coding standards, language-specific practices, peer review, and SAST guidance can prevent some instances of a missing or incomplete Struts validate() method, but the clause mandates a practice whose effect depends on implementation rigor and developer fallibility, consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors at the same rung.
- CWE-1037partialprevents — Secure coding standards must explicitly forbid optimizations that eliminate security-critical operations.
- CWE-1038partialprevents — Secure coding standards must address risks from compiler or build-tool optimizations that alter intended security behavior.
- CWE-1039partialprevents — Secure coding practices can incorporate input sanitization and adversarial robustness checks for ML models.
- CWE-104partialprevents — A.8.28 mandates secure coding standards and practices (including framework-specific guidance and code review) that would cover proper Struts form bean class extension, but the control mandates a fallible practice rather than a mechanism, so it prevents only a minority of instances — consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at the same rung.
- CWE-1043partialprevents — A.8.28's secure design/architecture guidance, peer review, and coding standards can catch some instances of overly complex data structures during planning and code review, but CWE-1043 is fundamentally a data-modeling/performance concern rather than a security vulnerability, so the clause's security-focused mandate leaves most instances outside its reach.
- CWE-1045partialprevents — A.8.28's secure coding standards, IDE configuration, peer review, and SAST processes can catch and prevent this C++-specific defect in well-implemented programmes, but the weakness is primarily a reliability issue rather than a security one, and coverage depends on whether the organisation's C++ coding standards actually include virtual-destructor rules -- a minority of instances, consistent with the A.8.28 partial pattern on other implementation weaknesses.
- CWE-1047partialprevents — Secure coding's architecture/design and peer review practices can catch and avoid circular dependencies before release, but they are fallible and do not specifically mandate cycle analysis, so only a minority of instances are prevented.
- CWE-1048partialprevents — A.8.28's secure coding standards, peer review, refactoring, and architectural review practices can catch and prevent excessive Fan-Out during implementation and design, but the clause mandates a practice rather than a specific Fan-Out threshold, and the practice is fallible — consistent with the A.8.28 vs CWE-502 and A.8.28 vs CWE-79 anchors at the same rung.
- CWE-1049partialprevents — Secure coding rules directly prohibit or limit complex joins and sub-queries on large tables.
- CWE-105partialprevents — A.8.28's secure coding standards, IDE configuration, peer review, and SAST processes are exactly the mechanisms that would catch a missing Struts validator entry, but the clause mandates a practice whose effect depends on implementation rigor and developer fallibility, so it prevents a minority of instances rather than the bulk.
- CWE-1050partialprevents — Secure coding standards explicitly forbid resource-consuming loops.
- CWE-1051partialprevents — Secure coding standards typically ban hard-coded network resources, yet the control covers many other practices.
- CWE-1052partialprevents — A.8.28's secure coding practices (peer review, structured programming, documenting code and removing programming defects, prohibiting insecure design techniques) catch some instances of excessive hard-coded literals through code review, but CWE-1052 is primarily a maintainability/quality issue rather than a direct security vulnerability, so the clause's security-focused mechanism reaches only a minority of instances.
- CWE-1054partialprevents — A.8.28's secure design and architecture guidance (item g), secure coding standards (item h), and structured programming techniques (item c) can in principle address architectural layering rules, but the clause mandates a practice whose effect depends on developer discipline and the specific standards adopted, leaving most instances to slip through.
- CWE-1055partialprevents — Secure coding standards can explicitly prohibit or limit multiple inheritance from concrete classes.
- CWE-1056partialprevents — Secure coding standards explicitly forbid variadic parameter lists that bypass static analysis and type safety.
- CWE-1057partialprevents — Secure coding standards prohibit direct data access outside the approved data-manager abstraction.
- CWE-1058partialprevents — Secure coding standards directly prohibit non-final static fields accessed by multiple threads without synchronization.
- CWE-106partialprevents — A.8.28's secure coding standards and principles (including item h on mandating standards, item e on prohibiting insecure design techniques, and item b on common coding defects) can mandate use of input validation frameworks like the Struts Validator, preventing the weakness in newly written code; but the clause's mechanism is human practice, which is fallible, and legacy or third-party code may not be covered, leaving a nameable remainder.
- CWE-1063partialprevents — A.8.28 mandates secure coding principles, peer review, and analysis of common programming errors, which can catch this anti-pattern if the organization's standards happen to include it; however, CWE-1063 is primarily a performance/quality issue rather than a security one, is not a typical item in secure coding guidance, and most well-implemented programmes would not specifically address class instantiation in static blocks.
- CWE-1065partialprevents — A.8.28's secure coding standards, threat modelling, and developer qualification can mandate use of the application server's resource management API and flag the low-level bypass as a prohibited pattern, but the clause mandates a practice rather than a mechanism, and the specific choice to call low-level functions instead of the framework API is a fallible implementation decision that slips past general secure-coding guidance in a minority of cases.
- CWE-1066partialprevents — Secure coding standards directly address implementing required serialization methods for data elements.
- CWE-1067partialprevents — Secure coding standards explicitly require use of indexes and avoidance of full-table scans.
- CWE-1068partialprevents — A.8.28's secure coding practices — peer review, refactoring, structured programming, documenting code, secure design and architecture including threat modelling — provide some governance over implementation-design consistency, but the clause's stated purpose is reducing security vulnerabilities rather than enforcing design traceability, and the mechanism is human practice which is fallible, so only a minority of inconsistencies are prevented.
- CWE-1069partialprevents — A.8.28 mandates secure coding standards, peer review, and SAST, all of which address empty catch blocks (a documented programming defect), but it is a practice rather than a mechanism and developers remain fallible, so only a minority of instances are prevented.
- CWE-107partialprevents — A.8.28's secure coding practices — peer review, code review, removing programming defects, and documentation — would catch some instances of unused Struts validation forms during development, but the mechanism is human practice which is fallible, and the weakness is a specific framework-maintenance issue that secure coding principles only partially reach.
- CWE-1070partialprevents — A.8.28 mandates secure coding standards, peer review, SAST, and analysis of common programming errors, which can catch non-serializable items in serializable structures during development; but the clause enforces a practice rather than a mechanism, and CWE-1070 is a niche defect whose coverage depends on whether the organization's standards and tooling specifically address serialization, so only a minority of instances are prevented.
- CWE-1071partialprevents — A.8.28's secure coding practices (coding standards, peer review, SAST, test-driven development) would prevent some empty code blocks from being introduced, particularly those that are unintentional or violate coding standards, but many empty blocks are intentional and syntactically valid, the clause's primary focus is security rather than general code quality, and the mechanism is fallible human practice.
- CWE-1072partialprevents — Secure coding standards can discourage direct connection creation but do not explicitly require connection pooling.
- CWE-1073partialprevents — A.8.28's secure coding principles and 'common programming errors' analysis can include efficient database access patterns as part of good coding practice, but the weakness is primarily a performance/quality concern rather than a security one, so the clause's security-focused guidance addresses only a minority of instances.
- CWE-1074partialprevents — Secure coding standards (item h) and the requirement to address common coding defects (item b) can include inheritance-depth limits, and peer review/refactoring (during-coding item b) can catch deep hierarchies before they ship, so a well-implemented A.8.28 prevents some instances; but CWE-1074 is primarily a maintainability/structural concern rather than a direct security vulnerability, so it sits outside the clause's main focus and many instances still arise.
- CWE-1075partialprevents — A.8.28 explicitly mandates 'structured programming techniques' during coding and 'common and historical coding practices and defects' in planning, which directly reach unconditional control flow transfers like goto outside switch blocks; however, the clause mandates a practice rather than a mechanism, so what is actually prevented depends on the rigour of the secure coding principles adopted and developer compliance with them.
- CWE-1076partialprevents — Secure coding standards directly address adherence to coding conventions.
- CWE-1077partialprevents — Secure coding rules can mandate safe floating-point comparison practices.
- CWE-1078partialprevents — Secure coding explicitly requires adherence to style and formatting standards that directly address CWE-1078.
- CWE-1079partialprevents — A.8.28's guidance on language-specific secure coding practices, secure coding standards, peer review, and SAST would catch most missing virtual destructors in C++ polymorphic base classes, but the control mandates a fallible human practice and the defect is primarily a reliability issue that may not be prioritized in security-focused coding standards.
- CWE-108partialprevents — A.8.28 mandates secure coding standards, peer review, SAST, and developer qualification, which would catch many instances of missing Struts validation forms in code the organization writes, but the clause sets a practice rather than a mechanism and the practice is fallible — consistent with the established A.8.28 rung of `partial` against specific code defects (CWE-79, CWE-502).
- CWE-1082partialprevents — A.8.28's secure coding standards, peer review, and SAST processes would catch many instances of the 'delete this' pattern as a known defect, but the clause mandates a fallible human practice and CWE-1082 is primarily a reliability issue that may not appear in every organization's secure coding baseline, leaving a nameable remainder.
- CWE-1083partialprevents — Secure coding standards explicitly forbid direct data access outside the approved data manager, addressing the root cause of CWE-1083.
- CWE-1084partialprevents — A.8.28's secure coding principles, standards, peer review, refactoring practices, and SAST could include function-complexity limits that prevent some instances of excessive file/data access operations, but CWE-1084 is primarily a maintainability issue with only indirect security impact, so it sits at the edge of the clause's security-focused scope and the effect depends on the rigor of the implemented practice.
- CWE-1085partialprevents — A.8.28's secure coding framework includes practices (peer review, secure coding standards, 'documenting code and removing programming defects') that could prevent excessive commented-out code, but CWE-1085 is a code-quality issue that only indirectly affects security, so it is not the clause's primary focus and the practices are fallible human activities.
- CWE-1087partialprevents — A.8.28's secure coding standards, IDE/tooling configuration, developer qualification, and SAST processes can address CWE-1087 (a C++-specific construct issue catchable by language-aware tooling and review), but the clause mandates a practice rather than a mechanism, and the declared ceiling for A.8.28 on `prevents` is `partial` because human practice is fallible and what is caught depends on implementation rigour.
- CWE-1088partialprevents — Secure coding standards directly require proper timeout configuration for synchronous remote calls.
- CWE-109partialprevents — A.8.28's secure coding standards, peer review, and SAST can prohibit and catch a developer setting validate="false" in a Struts mapping, but the control mandates a fallible human practice rather than a mechanism, so a minority of instances are prevented.
- CWE-1090partialprevents — A.8.28's secure coding principles (secure design and architecture, coding standards, peer review, structured programming) can prevent some instances of poor cross-class member access through design guidance and review, but CWE-1090 is primarily a maintainability/encapsulation concern rather than a security vulnerability, and the control's mechanism is fallible human practice.
- CWE-1091partialprevents — Secure coding standards directly address proper destructor/finalizer invocation to avoid resource leaks.
- CWE-1092partialprevents — A.8.28's planning item (g) on secure design and architecture, including threat modelling, can surface the maintainability and indirect-security risk of reusing a control element across layers, but the clause's primary focus is coding practice rather than architectural decisions, and the weakness's security impact is indirect, so only a minority of instances are caught by the mandated practice.
- CWE-1094partialprevents — CWE-1094 is fundamentally a performance/efficiency defect (excessive index range scan), not an information security vulnerability; A.8.28's stated purpose and mechanism target security vulnerabilities, and its guidance items (common coding defects leading to security vulnerabilities, removing programming defects exploitable as security issues) do not reach performance-oriented coding choices.
- CWE-1095partialprevents — A.8.28's secure coding practices (peer review, structured programming, analysis of common programming errors, SAST) catch some instances of loop-condition-update defects during development, but CWE-1095 is primarily a maintainability/analytical-complexity issue that only indirectly affects security, so secure coding does not target it as a primary concern and a nameable remainder of instances slips through.
- CWE-1096partialprevents — A.8.28 mandates secure coding principles, language-specific practices, peer review, and SAST processes, which can guide developers toward proper synchronization in singleton implementations; however, the clause mandates a practice rather than a mechanism, and CWE-1096 is a specific concurrency defect whose coverage depends on the rigor of the implemented standards and developer discipline, leaving a nameable remainder of instances where the defect still arises.
- CWE-1097partialprevents — A.8.28's mandated practices (coding standards, peer review, analysis of common programming errors, SAST) can catch some instances of missing comparison methods during development, but CWE-1097 is primarily a reliability/quality defect rather than a security vulnerability, so it falls outside the clause's security-focused scope and is caught only as a side effect of general code review.
- CWE-1098partialprevents — A.8.28's secure coding standards, IDE configuration, developer qualification, peer review, and SAST processes all reach this implementation-phase defect (a missing copy/constructor on a pointer-owning class is a textbook 'common coding defect' under item b and a rule a secure coding standard would mandate), but the clause mandates a practice whose effect depends on the rigour of implementation, and the strongest discovery mechanism for this class is A.8.29 testing -- the same boundary that graded A.8.28 -> CWE-502 and A.8.28 -> CWE-79 at `partial`.
- CWE-11partialprevents — Secure coding practices discourage leaving debug binaries in production but do not explicitly govern configuration settings.
- CWE-110partialprevents — A.8.28's secure coding practices — peer review, secure coding standards, SAST, and the explicit prohibition on insecure design techniques — can catch the ActionForm/validation mismatch that defines CWE-110, but the clause mandates a practice whose effect depends on implementation rigour, and the same ceiling that bounds A.8.28 against CWE-502 and CWE-79 bounds it here.
- CWE-1100partialprevents — Secure coding standards mandate separating platform-specific code into distinct modules to reduce coupling.
- CWE-1102partialprevents — Secure coding standards explicitly prohibit or flag use of machine-dependent data representations, directly mitigating this weakness.
- CWE-1103partialremoves — A.8.28's removal reach is limited to own-code defects corrected through reuse review or log-driven adjustments and to third-party weaknesses addressed by keeping external libraries updated, neither of which eliminates a platform-dependent component that is already present and lacks equivalent functionality across platforms.
- CWE-1103partialprevents — A.8.28's secure design and external-component selection/vetting practices can screen out some platform-dependent third-party components before they are relied on, but the clause does not explicitly require equivalent cross-platform functionality and its effect depends on fallible human implementation.
- CWE-1104partialprevents — A.8.28's external-libraries guidance (well-vetted selection, security history, maintainability, long-term availability) addresses CWE-1104 at the selection phase, but the clause mandates a practice whose effect depends on developer rigour, and it does not prevent a previously maintained component from becoming unmaintained over the software's lifetime.
- CWE-1105partialprevents — A.8.28's secure coding principles, threat modelling, coding standards and structured programming techniques can guide developers to encapsulate machine-dependent functionality, but the control mandates a fallible human practice and CWE-1105 is a relatively niche abstraction/portability concern that is not the headline target of most secure coding standards, so only a minority of instances are prevented.
- CWE-1106partialprevents — Secure coding standards explicitly require use of symbolic constants instead of magic literals.
- CWE-1107partialprevents — Secure coding standards explicitly call for centralized constant definitions to avoid duplication and errors.
- CWE-1108partialprevents — Secure coding standards explicitly ban or restrict global variables to reduce coupling and side-effects.
- CWE-1109partialprevents — A.8.28 mandates practices that bear on this weakness — peer review, refactoring, structured programming, documenting code and removing programming defects, and analysis of common programming errors — so a well-implemented secure coding programme prevents some instances of variable reuse. But CWE-1109 is primarily a maintainability/quality issue with only indirect security impact, so it is not the clause's primary target, and the practices are fallible human activities that miss a majority of instances.
- CWE-111partialprevents — Secure coding standards explicitly ban or tightly control unsafe JNI calls, directly mitigating the weakness.
- CWE-1111partialprevents — Secure coding requires documenting code, secure design/architecture, and threat modelling, so it pressures teams to define inputs, outputs, and interfaces; but it remains a fallible human practice and does not guarantee complete I/O documentation, so only a minority of instances are prevented.
- CWE-1113partialprevents — Secure coding policy can mandate consistent comment style as part of coding standards.
- CWE-1114partialremoves — A.8.28's removal reach is limited to reuse review, log-driven code adjustments, and updating external libraries, none of which address inconsistent whitespace style in existing source code.
- CWE-1116partialprevents — Secure coding practices typically mandate accurate, up-to-date comments as part of coding standards.
- CWE-1117partialprevents — A.8.28 mentions 'documenting code' as one consideration during coding and mandates secure coding standards, which can include documentation requirements, but the clause's primary focus is security vulnerabilities rather than documentation completeness, and developer practice on inline documentation is fallible and uneven.
- CWE-1118partialprevents — Secure coding standards mandate documented error-handling practices.
- CWE-1119partialprevents — Secure coding standards explicitly prohibit excessive unconditional branching and mandate structured control flow.
- CWE-112partialprevents — Secure coding standards directly require validation of untrusted XML against a proper schema.
- CWE-1121partialprevents — A.8.28 mandates structured programming techniques, peer review, secure coding standards, and SAST processes that can catch and limit excessive cyclomatic complexity, but the clause's purpose is reducing security vulnerabilities rather than enforcing maintainability metrics, and the mechanism is human practice which is fallible — consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at `partial`.
- CWE-1122partialprevents — A.8.28's guidance on structured programming techniques, refactoring, peer review, and addressing common coding defects that lead to vulnerabilities can reduce some instances of excessive Halstead complexity, but the clause mandates a fallible human practice rather than a mechanism that specifically targets complexity metrics, and developers do not reliably enforce complexity thresholds.
- CWE-1123partialprevents — A.8.28's secure coding principles, structured programming guidance, and prohibition on insecure design techniques would reduce self-modifying code usage in code the organization writes, but the clause mandates a practice whose effect depends entirely on implementation rigour — the same reasoning that graded A.8.28 vs CWE-79 and CWE-502 at `partial`.
- CWE-1124partialprevents — Secure coding standards explicitly forbid or limit excessive nesting to improve readability and reduce defects.
- CWE-1125partialprevents — A.8.28 explicitly names 'attack surface and the principle of least privilege' as a pre-operational evaluation and includes 'secure design and architecture, including threat modelling' in planning, so it has direct reach into CWE-1125; but attack surface is primarily an architectural property set by feature/API/input decisions made before coding, and the clause's main weight is on coding practice, so it addresses a minority of the decisions that determine attack surface size.
- CWE-1126partialprevents — A.8.28 mandates secure coding standards, peer review, refactoring, structured programming techniques, and IDE configuration that can catch unnecessarily wide variable scope, but the practice is fallible and CWE-1126 is primarily a maintainability issue that only indirectly affects security, so it is a minority of instances the practice actually prevents.
- CWE-1127partialprevents — A.8.28's planning guidance explicitly addresses configuring development tools (item c), following provider guidance (item d), and using updated compilers (item e), which directly covers enabling compiler warnings; however, the control mandates a practice that depends on developer compliance, so a well-implemented policy catches most instances but not those where developers override or ignore the configured warning levels.
- CWE-113partialprevents — Secure coding standards require neutralization of CRLF sequences before inclusion in HTTP headers.
- CWE-114partialprevents — Secure coding standards explicitly forbid executing or loading code from untrusted sources.
- CWE-115partialprevents — Secure coding standards require strict input validation and canonical forms to eliminate misinterpretation vulnerabilities.
- CWE-116partialprevents — Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.
- CWE-1164partialprevents — Secure coding standards explicitly require removal of unused or dead code.
- CWE-117partialprevents — Secure coding practices mandate input validation and output encoding, directly preventing log injection.
- CWE-1173partialprevents — Secure coding directly requires correct use of language-provided or approved validation libraries.
- CWE-1174partialprevents — Secure coding practices directly require proper use of ASP.NET model validation attributes.
- CWE-118partialprevents — Secure coding standards directly require bounds checking and safe array access to prevent range errors.
- CWE-1188partialprevents — A.8.28's secure coding principles, standards, and prohibition of insecure design techniques address insecure default initialization as a coding defect, but the control mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of insecure defaults that slip through despite the policy.
- CWE-119partialprevents — Secure coding standards explicitly forbid unsafe buffer operations, directly eliminating CWE-119.
- CWE-1190partialprevents — Secure coding practices can prevent early DMA initialization in firmware code.
- CWE-12partialprevents — Secure coding practices include avoiding default error messages that leak implementation details.
- CWE-120partialprevents — Secure coding directly requires bounds-checked memory operations, addressing the root cause of CWE-120.
- CWE-1204partialprevents — Requires secure coding practices that include proper cryptographic API usage and IV handling.
- CWE-121partialprevents — Secure coding standards explicitly forbid unsafe buffer handling that causes CWE-121.
- CWE-122partialprevents — Secure coding standards directly prescribe techniques (safe functions, bounds checks) that prevent heap-based buffer overflows.
- CWE-1221partialprevents — Secure coding practices for HDL reduce the likelihood of defining insecure register defaults or IP parameters.
- CWE-1223partialprevents — Secure coding guidelines for hardware description languages can enforce proper write-once attribute protection and initialization order.
- CWE-123partialprevents — Secure coding standards explicitly forbid unsafe buffer operations that enable arbitrary memory writes.
- CWE-1230partialprevents — A.8.28's threat modelling, secure design, and analysis of common programming errors can catch some metadata-exposure cases when the threat model specifically considers derived information, but the clause mandates a fallible practice rather than a mechanism that automatically addresses metadata as a separate attack surface, leaving a nameable remainder of instances the practice does not reach.
- CWE-1231partialprevents — Secure coding can avoid software paths that modify lock bits, yet cannot guarantee the underlying hardware prevents such writes.
- CWE-1235partialprevents — A.8.28's language-specific secure coding practices, peer review, and developer qualification can catch some autoboxing/unboxing defects in performance-critical code, but the weakness is fundamentally a performance pitfall rather than a security vulnerability, so it falls outside the clause's primary focus and many instances slip through unreviewed practice.
- CWE-1236partialprevents — Secure coding standards explicitly require neutralization of special characters when writing CSV files.
- CWE-124partialprevents — Secure coding standards explicitly forbid unsafe pointer arithmetic and mandate bounds checks.
- CWE-1240partialprevents — Secure coding standards prohibit non-standard or disallowed cryptographic algorithms.
- CWE-1241partialprevents — Secure coding standards prohibit use of weak or predictable RNG functions.
- CWE-1242partialprevents — Secure coding standards and peer review detect and prohibit undocumented or debug features.
- CWE-1245partialprevents — Secure coding guidelines can extend to hardware description languages to prevent FSM coding errors.
- CWE-1246partialprevents — Secure coding practices must implement or correctly invoke wear-leveling algorithms for limited-write non-volatile memories.
- CWE-1249partialprevents — A.8.28's secure design and architecture guidance (including threat modelling) and its prohibition on insecure design techniques could catch the architectural assumption that the OS state is static, but the control mandates a practice whose coverage depends on the implementer's rigour in surfacing this specific concern during design review.
- CWE-125partialprevents — Secure coding standards explicitly forbid unsafe pointer arithmetic and mandate bounds-checked reads, eliminating CWE-125.
- CWE-1250partialprevents — A.8.28 includes secure design and architecture with threat modelling, and its secure-coding practices touch on synchronization and race-condition awareness, so a well-implemented programme prevents some instances of distributed-state inconsistency; but CWE-1250 is fundamentally an architectural concern about coherence across independent components (the MMU-shadow example is hardware-level), which sits outside the slice of practice secure-coding training and peer review typically reach, leaving a nameable remainder.
- CWE-1254partialprevents — Secure coding standards can require constant-time comparison functions to avoid stepwise string comparison vulnerabilities.
- CWE-1255partialprevents — Secure coding standards can mandate constant-time comparison routines and power-analysis-resistant implementations.
- CWE-1256partialprevents — Secure coding practices can enforce input validation and capability checks on hardware-control APIs, reducing the likelihood of unintended register or memory changes.
- CWE-1257partialprevents — Secure coding practices can catch alias-permission mismatches during implementation.
- CWE-1259partialprevents — Secure coding practices reduce the likelihood of token-assignment bugs but do not define the policy.
- CWE-126partialprevents — Secure coding standards directly require bounds-checked buffer access, mitigating over-reads.
- CWE-1260partialprevents — Secure coding standards mandate checks for address-range overlap and proper memory-protection configuration, mitigating the weakness at implementation time.
- CWE-1262partialprevents — Secure coding practices prevent unauthorized register access in firmware and drivers.
- CWE-1265partialprevents — Secure coding standards and reviews directly target reentrancy issues and non-reentrant code patterns.
- CWE-1266partialprevents — A.8.28's secure design and architecture guidance (including threat modelling) could in principle include designing in a decommissioning/scrubbing capability, preventing the weakness at design time, but this is a niche lifecycle concern that secure coding programmes do not consistently reach and the clause's primary focus is on operational code defects rather than end-of-life data handling features.
- CWE-127partialprevents — Secure coding standards directly require bounds checking and safe pointer arithmetic.
- CWE-1270partialprevents — Secure coding standards reduce the likelihood of implementation errors that produce incorrect tokens.
- CWE-1272partialprevents — Secure-coding practices can prevent the weakness if applied, but the control itself is broader than this specific flaw.
- CWE-1275partialprevents — Secure coding standards directly require proper SameSite settings to prevent CSRF.
- CWE-1279partialprevents — Secure coding practices can prevent cryptographic operations before supporting units are ready.
- CWE-128partialprevents — Secure coding standards directly require avoidance of integer overflow and wrap-around conditions.
- CWE-1281partialprevents — Secure coding guidelines can require avoidance of known problematic instruction sequences and use of validated libraries.
- CWE-1282partialprevents — Secure coding practices can avoid storing immutable data in writable memory but do not address hardware-level protection.
- CWE-1284partialprevents — Secure coding standards require explicit checks on numeric quantity inputs, fully addressing CWE-1284.
- CWE-1285partialprevents — Secure coding standards directly require validation of indices, positions, and offsets before use.
- CWE-1286partialprevents — Secure coding standards directly require proper syntactic validation of all inputs.
- CWE-1287partialprevents — Secure coding standards directly require proper type validation of all external inputs.
- CWE-1288partialprevents — Secure coding standards explicitly require validation of interrelated input fields to prevent CWE-1288.
- CWE-1289partialprevents — Secure coding standards directly require correct validation of resource identifiers and equivalence checks.
- CWE-129partialprevents — Secure coding standards explicitly require bounds checking and validation of array indices derived from untrusted data.
- CWE-1291partialprevents — Secure-coding standards can mandate distinct signing keys and prohibit reuse between debug and production builds.
- CWE-1293partialprevents — A.8.28's secure design and threat modelling guidance (planning item g) could surface the need for multi-source correlation during architecture, preventing some instances, but the clause mandates a general practice rather than specifically requiring source-correlation patterns, so most instances depend on the implementer's threat model reaching this particular concern.
- CWE-1295partialprevents — Secure coding practices mandate removal or protection of debug output containing sensitive information before release.
- CWE-13partialprevents — A.8.28 explicitly prohibits insecure design techniques including hard-coded passwords, and secure coding standards would cover plaintext credentials in configuration files, but the clause's mechanism is human practice (developers following standards, peer review, SAST) which is fallible and catches a minority of instances.
- CWE-130partialprevents — Secure coding standards directly prohibit improper length handling and enforce defensive parsing practices.
- CWE-131partialprevents — Secure coding standards directly require correct buffer-size calculations.
- CWE-1312partialprevents — Secure coding practices can avoid mirror-region oversights, yet the weakness is primarily a hardware-design flaw.
- CWE-1314partialprevents — Secure coding practices can prevent software from writing to protected parameter areas but do not address the underlying hardware protection gap.
- CWE-1320partialprevents — Secure coding practices reduce the risk of improper outbound error handling.
- CWE-1321partialprevents — Secure coding standards directly prohibit unsafe prototype attribute assignment and require defensive checks.
- CWE-1322partialprevents — Secure coding standards directly prohibit blocking operations inside single-threaded event loops.
- CWE-1325partialprevents — Secure coding standards can require explicit limits on memory per object, yet fixing the weakness alone does not satisfy the full control.
- CWE-1327partialprevents — Secure coding guidance can catch hard-coded 0.0.0.0 bindings during development but is not the primary mitigation.
- CWE-1329partialprevents — A.8.28's guidance on selecting well-vetted, maintainable components from reputable sources with long-term availability, and managing external libraries with regular update cycles, addresses component updateability at the design/architecture phase and prevents a slice of instances; however, the clause cannot prevent hardware/ROM/firmware that is immutable by design, legacy systems already in operation, or third-party components that lose maintainability after selection, and its mechanism is human practice which is fallible.
- CWE-1333partialprevents — Secure coding standards explicitly prohibit or limit the use of inefficient regular expressions.
- CWE-1335partialprevents — Secure coding directly addresses the use of safe bitwise-shift operations and bounds checking.
- CWE-1336partialprevents — Secure coding standards require proper escaping or sandboxing of template directives, directly mitigating CWE-1336.
- CWE-1339partialprevents — A.8.28's secure coding principles can include guidance on numeric representation choices (e.g., using decimal types for financial calculations, awareness of floating-point limitations), which prevents some instances, but the mechanism is human practice that is fallible and this is a specialized topic not always covered in depth by secure coding programs.
- CWE-134partialprevents — Secure coding standards directly forbid the use of untrusted format strings and prescribe safe alternatives.
- CWE-1341partialprevents — Secure-coding standards directly address proper resource-release discipline, preventing multiple-close errors.
- CWE-135partialprevents — Secure coding directly addresses proper calculation of multi-byte string lengths through coding standards and reviews.
- CWE-138partialprevents — Secure coding standards require proper escaping and neutralization of special elements, directly eliminating CWE-138.
- CWE-1385partialprevents — Secure coding standards can explicitly require origin validation for WebSocket connections.
- CWE-1386partialprevents — Secure coding standards directly address safe file/directory handling to prevent insecure junction operations.
- CWE-1389partialprevents — Secure coding standards directly mandate safe numeric parsing and validation of input bases.
- CWE-1391partialprevents — Secure-coding rules can prohibit hard-coded passwords, yet coverage depends on specific coding standards adopted.
- CWE-1392partialprevents — A.8.28 explicitly prohibits insecure design techniques including hard-coded passwords, which addresses default credentials that would be embedded in first-party code; however, the clause mandates a practice rather than a mechanism, default credentials can also originate from third-party components, configuration defaults, and procurement choices outside the developer's control, and the practice is fallible like other A.8.28 pairs graded partial.
- CWE-1393partialprevents — A.8.28 explicitly prohibits insecure design techniques including hard-coded passwords, which extends to default-password practices in code the organization writes or contracts for, but it is a practice-based control with a declared ceiling of partial, and it does not reach default passwords shipped by third-party product vendors or in COTS components.
- CWE-1394partialprevents — A.8.28's guidance explicitly prohibits insecure design techniques including hard-coded passwords, which would cover hard-coded default cryptographic keys in first-party code, but the clause mandates a PRACTICE rather than a mechanism, so coverage depends on implementation rigor and falls short on third-party components that ship with default keys already embedded.
- CWE-14partialprevents — Secure coding rules can mandate explicit volatile or memory-clearing patterns that survive compiler optimization.
- CWE-140partialprevents — Secure coding explicitly requires proper neutralization of delimiters to prevent injection and parsing flaws.
- CWE-141partialprevents — Secure coding standards require proper escaping or neutralization of parameter delimiters in all downstream calls.
- CWE-142partialprevents — Secure coding explicitly calls for proper escaping or encoding of value delimiters in downstream contexts.
- CWE-1426partialprevents — A.8.28's secure coding principles (threat modelling, secure design, prohibiting insecure design techniques, analysis of common programming errors) can guide developers to validate AI/ML outputs, but the CWE itself flags this as a research gap where best practices are still emerging and developers commonly rely on input filtering and model alignment instead, so the practice catches a minority of instances.
- CWE-1427partialprevents — A.8.28's secure coding practices (threat modelling, input validation, secure design principles, developer qualification) provide some defense against prompt injection, but the clause mandates a practice whose coverage depends on developer awareness of this newer weakness class; traditional secure coding training may not include LLM-specific input handling, so what is covered is a slice the implementer chose rather than the bulk.
- CWE-1428partialprevents — A.8.28's secure coding principles, secure design/architecture guidance, and prohibition of insecure design techniques would steer developers toward HTTPS, but the control mandates a practice rather than a mechanism, so whether the weakness is prevented depends on the rigour of implementation — consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors at `partial`.
- CWE-143partialprevents — Secure coding standards require proper escaping or neutralization of record delimiters in all downstream interfaces.
- CWE-1434partialprevents — A.8.28's secure design, threat modelling, and pre-operational evaluation can lead an organization to validate and constrain unsafe generative AI inference parameters, but the clause does not specifically govern model tuning or hyperparameter configuration, so it prevents only a minority of instances.
- CWE-144partialprevents — Secure coding standards directly require proper neutralization of line delimiters in input handling.
- CWE-145partialprevents — Secure coding standards require correct neutralization of section delimiters in all downstream outputs.
- CWE-146partialprevents — Secure coding standards require proper neutralization of special elements, directly eliminating this weakness.
- CWE-147partialprevents — Secure coding standards require explicit neutralization of input terminators, directly eliminating this weakness.
- CWE-148partialprevents — Secure coding standards directly require proper neutralization of input leaders, covering most of this weakness.
- CWE-149partialprevents — Secure coding standards require proper escaping or parameterization, directly eliminating CWE-149.
- CWE-15partialprevents — A.8.28's secure coding principles (threat modelling, secure design, prohibited insecure techniques, analysis of common programming errors) directly target the pattern of allowing external input to govern system settings, but the control mandates a practice whose effect depends on developer rigour, so it catches a minority of instances the way it does for CWE-502 and CWE-79.
- CWE-150partialprevents — Secure coding standards require proper escaping and neutralization of control characters before downstream processing.
- CWE-151partialprevents — A.8.28's secure coding principles cover input neutralization practices that, if followed, would prevent comment-delimiter injection (the clause names input handling, common coding defects, and language-specific secure practices); but the clause mandates a practice rather than a mechanism, so coverage is a slice the implementer chose, with a nameable remainder where developers fail to apply the guidance — the same reading that graded A.8.28 -> CWE-79 and A.8.28 -> CWE-502 at `partial`.
- CWE-152partialprevents — A.8.28 mandates secure coding practices including input neutralization, language-specific guidance, and prohibition of insecure techniques, which covers macro symbol handling as a subset of input sanitization; the ceiling is `partial` because the control is a practice developers must apply, and CWE-152 is an under-studied, language-specific weakness that fallible developers may not recognize or neutralize correctly.
- CWE-153partialprevents — Secure coding standards require proper neutralization of substitution characters in all input handling.
- CWE-154partialprevents — Secure coding standards require proper escaping or parameterization of all variable-name delimiters, directly eliminating CWE-154.
- CWE-155partialprevents — Secure coding standards explicitly require proper escaping or neutralization of wildcard and matching symbols.
- CWE-156partialprevents — Secure coding standards directly require proper input sanitization and neutralization of special elements like whitespace.
- CWE-157partialprevents — Secure coding standards directly mandate sanitizing paired delimiters to prevent injection or parsing errors.
- CWE-158partialprevents — Secure coding standards explicitly require proper neutralization of null bytes and other metacharacters.
- CWE-159partialprevents — Secure coding standards require proper escaping, quoting and validation of special characters in user input.
- CWE-160partialprevents — Secure coding standards require proper neutralization of leading special elements in all input paths.
- CWE-161partialprevents — A.8.28 mandates secure coding practices including input validation principles, peer review, and SAST processes that catch some instances of improper neutralization of leading special elements, but the clause governs a fallible human practice rather than a mechanism, so what is covered is a slice the implementer chose rather than the bulk with a nameable remainder (consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors at the same rung).
- CWE-162partialprevents — Secure coding standards directly require correct neutralization of trailing special elements in input handling.
- CWE-163partialprevents — A.8.28's secure coding principles cover input neutralization practices that would guide developers to handle trailing special elements correctly, but the control mandates a fallible practice rather than a mechanism, so it catches a minority of instances depending on developer rigor — same reading as A.8.28 -> CWE-79 and CWE-502.
- CWE-164partialprevents — Secure coding standards require proper escaping and neutralization of special elements, directly mitigating CWE-164.
- CWE-165partialprevents — A.8.28 mandates secure coding practices (input handling principles, peer review, prohibition of insecure techniques, analysis of common programming errors) that address neutralization of special elements, but it is a practice requirement whose effect depends on developer rigour; the strongest discovery mechanism for this class of input-handling defect is A.8.29 testing, and A.8.28 carries a declared ceiling of `partial` on this verb.
- CWE-166partialprevents — Secure coding standards directly require validation for missing special elements, covering most of this weakness.
- CWE-167partialprevents — Secure coding standards directly require correct handling of all input elements, eliminating this weakness.
- CWE-168partialprevents — Secure coding standards explicitly require proper handling of special characters and reserved words.
- CWE-170partialprevents — Secure coding standards directly require correct null termination of strings and arrays.
- CWE-172partialprevents — Secure coding explicitly requires correct character encoding and output escaping to avoid CWE-172.
- CWE-173partialprevents — Secure coding standards explicitly require proper handling of alternate encodings and canonical forms to avoid injection or bypass flaws.
- CWE-174partialprevents — Secure coding principles, training, peer review, and SAST processes catch some double-decoding patterns, but the defect is a subtle logic error that trained developers still introduce and SAST detection of double-decoding is limited, matching the same `partial` rung A.8.28 holds against other input-handling CWEs like CWE-79 and CWE-502.
- CWE-175partialprevents — A.8.28 mandates secure coding principles, language-specific practices, peer review, and developer qualification that would catch some mixed-encoding handling issues, but the weakness is a subtle implementation detail not guaranteed to be covered by any specific secure coding standard, and the clause's mechanism is human practice which is fallible.
- CWE-176partialprevents — Secure coding standards directly address proper Unicode and character-encoding validation.
- CWE-177partialprevents — Secure coding standards mandate proper handling and decoding of encoded inputs, eliminating CWE-177.
- CWE-178partialprevents — Secure coding guidelines must mandate explicit case handling to prevent inconsistent lookups.
- CWE-179partialprevents — Secure coding standards explicitly require canonicalization before validation to avoid CWE-179.
- CWE-180partialprevents — Secure coding standards explicitly require canonicalize-then-validate to eliminate CWE-180.
- CWE-181partialprevents — A.8.28's secure coding standards, threat modelling, peer review and prohibition of insecure design techniques can guide developers toward correct filter-then-validate ordering, but the defect is a subtle logic bug introduced at implementation and the control's mechanism is human practice, which is fallible; the strongest reach against this weakness is testing under A.8.29, leaving A.8.28 at its declared ceiling.
- CWE-182partialprevents — Secure coding standards explicitly forbid unsafe filtering or collapsing of security-critical values.
- CWE-183partialprevents — Secure coding standards enforce rigorous input validation and reject unsafe values, mitigating permissive allow-list weaknesses.
- CWE-184partialprevents — Secure coding standards directly require exhaustive allow-lists or complete deny-lists for inputs, addressing the root cause of incomplete disallowed-input lists.
- CWE-185partialprevents — Secure coding standards directly address proper construction and review of regular expressions.
- CWE-186partialprevents — Secure coding standards directly mandate proper regex design and testing, largely preventing this weakness.
- CWE-187partialprevents — Secure coding standards can explicitly prohibit substring-based comparisons for security decisions.
- CWE-188partialprevents — Secure coding standards and reviews target unsafe reliance on implicit data layout.
- CWE-190partialprevents — Secure coding standards explicitly forbid unsafe integer operations and mandate overflow-safe constructs.
- CWE-191partialprevents — Secure coding standards directly prescribe safe integer handling and overflow/underflow prevention.
- CWE-192partialprevents — Secure coding standards directly address integer coercion through language-specific rules and static analysis.
- CWE-193partialprevents — Secure coding directly addresses off-by-one errors through coding standards and peer review.
- CWE-194partialprevents — Secure coding standards directly address integer handling and sign-extension pitfalls in source code.
- CWE-195partialprevents — Secure coding standards directly prohibit unsafe signed-to-unsigned casts and require defensive checks.
- CWE-196partialprevents — Secure coding standards directly address avoiding unsafe casts from unsigned to signed integers.
- CWE-197partialprevents — Secure coding standards directly prohibit unsafe narrowing conversions and truncation.
- CWE-198partialprevents — Secure coding standards directly require correct byte-order handling when processing external input.
- CWE-20partialprevents — Requiring language-specific secure coding standards, peer review, SAST and documented mitigation of common programming errors forces validation of all inputs before they are trusted.
- CWE-200partialprevents — Source-code protection via configuration-management tools and access-control rules reduces the chance that sensitive implementation details or credentials will be exposed to unauthorized readers.
- CWE-201partialprevents — Secure-coding standards explicitly forbid hard-coded or unfiltered sensitive data in outbound messages.
- CWE-202partialprevents — Secure coding practices can implement query restrictions or result-set limits to reduce inference risk.
- CWE-203partialprevents — Secure coding standards can mandate consistent error messages, constant-time comparisons, and uniform response behavior, addressing the application-layer observable discrepancies (different error messages, response timing in auth flows). The remainder is nameable: hardware-level side channels (cache, power consumption, RAPL interfaces), subtle timing differences emerging from complex code paths, and network-level observable differences (TTL, packet behavior) are not caught by coding practice alone, and the clause's mechanism is human practice which is fallible.
- CWE-204partialprevents — Secure coding standards explicitly require uniform error handling to prevent information leakage.
- CWE-205partialprevents — Secure coding standards can require consistent, non-informative error messages and timing behavior.
- CWE-206partialprevents — A.8.28 mandates secure coding practices (threat modelling, secure design principles, peer review, coding standards, analysis of common programming errors) that can prevent observable behavioral discrepancies from being introduced, but it is a practice clause whose effect depends on implementation rigour and developer skill, leaving a nameable remainder of instances that slip through to be caught by testing (A.8.29) rather than prevented here.
- CWE-207partialprevents — Secure coding practices can prevent implementation differences that leak product identity.
- CWE-208partialprevents — A.8.28 mandates secure coding practices specific to programming languages and prohibits insecure design techniques, which can include constant-time comparison guidance, but the clause does not specifically address timing side channels and depends on developer awareness of this subtle weakness class.
- CWE-209partialprevents — Secure coding standards explicitly forbid exposing sensitive data in errors.
- CWE-210partialprevents — Secure coding standards directly prohibit embedding sensitive information in generated error messages.
- CWE-211partialprevents — A.8.28's guidance on language-specific secure coding practices, exception handling, and prohibiting insecure design techniques addresses CWE-211 by directing developers to catch runtime exceptions and suppress verbose interpreter errors, but the control mandates a fallible practice rather than a mechanism, so it moves a minority of instances -- consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at the same rung.
- CWE-212partialprevents — Secure-coding standards can mandate removal of secrets and PII from code and logs.
- CWE-213partialprevents — A.8.28's secure design/architecture, threat modelling, and secure coding standards can reach the Implementation and Architecture-and-Design modes of introduction (e.g., developers not tracking sensitive information flow), but the core of CWE-213 is a Policy/Requirements mismatch between stakeholders that secure coding practice does not address, and the practice-based mechanism is fallible.
- CWE-214partialprevents — Secure coding practices can prevent passing sensitive data via command-line arguments or environment variables.
- CWE-215partialprevents — Secure coding standards explicitly prohibit embedding secrets or debug statements.
- CWE-219partialprevents — A.8.28's secure design and architecture guidance, threat modelling, and pre-operational attack-surface analysis can lead developers to specify sensitive-file paths outside the web root, but the weakness is fundamentally an architectural/deployment decision (where the file lands relative to the web root depends heavily on server configuration), and the clause's enumerated prohibitions (hard-coded passwords, unapproved samples, unauthenticated services) do not name file placement, so only a slice of instances are caught.
- CWE-22partialprevents — Secure coding standards explicitly forbid unsafe path construction and mandate safe APIs.
- CWE-222partialprevents — Secure coding principles, training, peer review, and SAST can catch and prevent many instances of security-relevant information truncation (e.g., incomplete logging of long URIs, truncated URL filter checks), but the defect is subtle and the clause mandates a fallible human practice rather than a mechanism, so a minority of instances are prevented.
- CWE-224partialprevents — Secure coding practices mandated by A.8.28 — peer review, threat modeling, secure coding standards that require canonical naming, and analysis of common programming errors — reduce the likelihood a developer records the user-supplied identifier instead of the canonical one, but the practice is fallible and the defect is subtle enough that a nameable remainder of instances still arise, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-226partialprevents — Secure coding practices can prevent leaving sensitive data in memory or files before reuse.
- CWE-228partialprevents — Secure coding explicitly requires validation of all input syntax and structure, directly eliminating CWE-228.
- CWE-229partialprevents — Secure coding standards mandate proper handling of missing or undefined parameters, directly addressing this weakness.
- CWE-23partialprevents — Secure coding standards require neutralizing path traversal sequences, directly addressing CWE-23.
- CWE-230partialprevents — Secure coding standards can require validation that every supplied parameter has a non-null value.
- CWE-231partialprevents — Secure coding standards directly require validation of the exact number and type of input parameters.
- CWE-232partialprevents — Secure coding standards directly require defensive checks for undefined or unsupported parameter values.
- CWE-233partialprevents — Secure coding standards directly address proper handling of function parameters and input validation.
- CWE-234partialprevents — Secure coding standards directly address proper argument validation and handling of missing or unexpected parameters.
- CWE-235partialprevents — Secure coding standards directly require proper handling of input parameters and arrays to avoid CWE-235.
- CWE-236partialprevents — Secure coding standards directly address proper handling of undefined or unsupported parameters during implementation.
- CWE-237partialprevents — Secure coding standards directly address proper handling and validation of structured data elements.
- CWE-238partialprevents — Secure coding standards (item h), threat modelling (item g), peer review and test-driven development (item b during coding), and analysis of common programming errors (item b before operational) all bear on how developers handle incomplete structural elements, so a well-implemented A.8.28 reduces instances of CWE-238; the practice is fallible and the coverage depends on the rigour of the implementation, matching the same `partial` rung A.8.28 holds against CWE-502 and CWE-79.
- CWE-239partialprevents — Secure coding standards typically include rules for validating element completeness, directly addressing CWE-239.
- CWE-24partialprevents — Secure coding standards require neutralizing ../ sequences and canonicalizing paths before file operations.
- CWE-240partialprevents — Secure coding standards address consistent parsing and validation of structural elements.
- CWE-241partialprevents — Secure coding standards explicitly require type checking and input sanitization, directly addressing improper handling of unexpected data types.
- CWE-242partialprevents — Secure coding standards explicitly ban or restrict inherently dangerous functions.
- CWE-243partialprevents — A.8.28 mandates secure coding standards, code review, peer review, and SAST, which would catch some instances of the chroot-without-chdir defect in systems-level C code, but the practice is fallible and depends on the rigour of the specific standards and reviewer knowledge of this niche Unix idiom, leaving a nameable remainder.
- CWE-244partialprevents — Mandates secure coding practices that include proper memory sanitization before release.
- CWE-245partialprevents — A.8.28 mandates secure coding standards and practices specific to programming languages, plus peer review and code review, which would catch J2EE connection-management violations if the organization's standards explicitly address this J2EE pattern; but the clause is a practice mandate whose effect depends on whether the standards actually enumerate this specific bad practice and on reviewer rigour, so it catches a minority of instances rather than the bulk.
- CWE-246partialprevents — A.8.28 mandates secure coding standards and prohibits insecure design techniques, so a well-implemented secure coding standard for J2EE would prohibit direct socket use; but the control mandates a PRACTICE rather than a mechanism, so what it actually catches depends on the rigour of the standards adopted and developer compliance with them, leaving a nameable remainder.
- CWE-248partialprevents — Secure coding standards directly require catching and handling exceptions to prevent crashes or leaks.
- CWE-25partialprevents — Secure coding standards require canonicalization and neutralization of '../' sequences in path construction.
- CWE-250partialprevents — A.8.28 explicitly names 'principle of least privilege' in its pre-operational evaluation step and its secure coding principles cover privilege management during development, so a well-implemented programme prevents a slice of CWE-250 instances; the remainder is the same shape as the other A.8.28 anchors -- the clause mandates a fallible practice, and CWE-250 can also be introduced at installation (setuid programs) and operation phases that the coding-time guidance does not reach.
- CWE-252partialprevents — Secure coding explicitly requires checking return values to avoid CWE-252.
- CWE-253partialprevents — Secure coding explicitly demands checking return values, covering most of CWE-253.
- CWE-256partialprevents — Secure coding practices would prevent developers from writing code that stores passwords in plaintext.
- CWE-257partialprevents — Secure coding practices can prevent developers from implementing recoverable password storage.
- CWE-258partialprevents — Secure coding standards explicitly forbid hard-coded or empty credentials.
- CWE-259partialprevents — A.8.28 explicitly prohibits hard-coded passwords in its 'During coding' guidance (item e), so a system under the clause sees fewer instances arise, but the clause mandates a practice rather than a mechanism and the prohibition depends on developer compliance, third-party components, and the rigour of implementation — the same ceiling the owner set for A.8.28 on CWE-502 and CWE-79.
- CWE-26partialprevents — Secure coding standards require neutralizing '../' sequences and canonicalizing paths before file operations.
- CWE-260partialprevents — Secure coding standards discourage hard-coded credentials, reducing the likelihood of passwords in configuration files.
- CWE-261partialprevents — Enforces secure coding practices that would reject trivial password encoding.
- CWE-266partialprevents — A.8.28's secure coding practices — threat modelling, secure coding standards, peer review, and SAST — address a slice of incorrect privilege assignments by catching them before code is operational, but the clause mandates a practice whose coverage depends on implementation rigor and developer skill, leaving a nameable remainder of instances that slip through.
- CWE-267partialprevents — Secure coding practices can avoid unsafe privilege implementations but do not address privileges already defined.
- CWE-268partialprevents — A.8.28's threat modelling, secure design guidance, secure coding standards, and peer review practices reduce privilege-chaining flaws by catching both the architectural design (how privileges combine) and the implementation defect (missing role checks), but the control mandates a fallible human practice so a minority of instances are prevented, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-27partialprevents — Secure coding standards require neutralizing '../' sequences and using safe file APIs, eliminating this exact weakness.
- CWE-270partialprevents — Secure-coding guidelines can prevent common privilege-switch bugs yet are not exhaustive.
- CWE-271partialprevents — Secure coding standards can mandate privilege-dropping calls, yet the control is broader than this single weakness.
- CWE-272partialprevents — Secure coding practices can prevent least-privilege violations but do not constitute the control itself.
- CWE-273partialprevents — Secure coding practices can prevent missing privilege-drop checks, but the control itself does not mandate verification of privilege changes.
- CWE-274partialprevents — Secure-coding standards may require proper privilege-error handling, but the control does not guarantee it.
- CWE-277partialprevents — Secure coding standards can explicitly require setting restrictive permissions at object creation, directly mitigating insecure inheritance.
- CWE-278partialprevents — Secure coding standards can mandate explicit permission setting instead of relying on inherited defaults.
- CWE-279partialprevents — Secure coding practices can prevent the coding error that leads to incorrect permission assignment.
- CWE-28partialprevents — Secure coding standards explicitly forbid unsafe path construction and mandate neutralization of .. sequences.
- CWE-280partialprevents — Secure-coding standards require proper permission checks before resource access.
- CWE-281partialprevents — A.8.28 mandates secure coding practices (developer qualification, peer review, testing, analysis of common programming errors) that would catch some instances of permission-preservation defects, but the clause establishes a practice rather than a mechanism, and CWE-281 is a specific implementation defect requiring careful API selection and attention to permission semantics that the clause does not mandate directly.
- CWE-283partialprevents — A.8.28 mandates secure coding practices — threat modelling, secure coding standards, peer review, and analysis of common programming errors — that would catch some instances of missing ownership verification, but the control is a process mandate whose effectiveness depends on implementation rigor, leaving a nameable remainder of instances where the practice is not applied or fails.
- CWE-284partialprevents — A.8.28's secure coding practices touch access control through threat modelling, least-privilege evaluation, prohibition of hard-coded credentials and unauthenticated services, and correct implementation of authorization checks in code, but CWE-284 is broader than coding: authentication mechanisms, architectural access decisions, and configuration of access control systems sit outside the clause's reach, and the practice is fallible like other A.8.28 effects.
- CWE-288partialprevents — Secure coding practices help avoid bypass vulnerabilities but do not address deployed instances.
- CWE-289partialprevents — A.8.28 mandates secure design (including threat modelling), secure coding standards, and analysis of common programming errors, which are the practices that would catch canonicalization/alternate-name flaws at architecture and implementation phases; but the clause mandates a practice rather than a mechanism, so what it actually catches depends on the rigour of implementation and developer awareness of this specific class of issue, leaving a nameable remainder.
- CWE-29partialprevents — Secure coding standards directly require neutralizing path traversal sequences such as '\..\filename'.
- CWE-290partialprevents — Secure coding practices reduce implementation errors that enable spoofing.
- CWE-291partialprevents — A.8.28 mandates secure design and architecture including threat modelling, and explicitly prohibits insecure design techniques (e.g., hard-coded passwords, unauthenticated web services) — IP-only authentication is the same class of architectural anti-pattern, so a well-implemented secure coding programme catches it in design review. But the mechanism is human practice (threat modelling, peer review, training), which is fallible, matching the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at `partial`.
- CWE-293partialprevents — Secure coding standards would forbid using Referer for authentication, mitigating the weakness at the source.
- CWE-294partialprevents — A.8.28's secure design/architecture and threat modelling guidance (planning item g) and its prohibition on insecure design techniques can catch capture-replay during design, but the clause mandates a fallible practice whose effect depends on developer rigour, so only a minority of instances are prevented.
- CWE-295partialprevents — A.8.28 mandates secure coding practices (standards, peer review, training, prohibition of insecure techniques) that reduce improper certificate validation defects, but the mechanism is human practice and is fallible; the clause's declared ceiling on this verb is `partial`, matching the same-clause grades against CWE-79 and CWE-502.
- CWE-296partialprevents — Secure coding standards address correct certificate chain validation.
- CWE-297partialprevents — Secure coding practices include implementing proper certificate and hostname validation in code.
- CWE-298partialprevents — Secure coding practices can include certificate validation checks but do not address the control's broader scope.
- CWE-298partialremoves — A.8.28's owner-ruled `removes` reach on first-party code defects is reuse review and log-driven code adjustment after operational; for CWE-298 (a first-party defect in certificate-expiration handling), reuse review can find and fix existing instances where code is reviewed, but most deployed code is not subjected to reuse review and the defect does not always surface in logs, leaving a nameable remainder.
- CWE-299partialprevents — Secure coding practices should include proper certificate revocation verification.
- CWE-299partialremoves — A.8.28's `removes` reach (owner 2026-10-19) is reuse review and code adjusted from reviewed logs after operational; CWE-299 is a first-party code defect in certificate validation that can be caught and fixed when the code is reused and reviewed, or when certificate validation errors surface in logs and trigger code adjustment, but the mechanisms are general and do not comprehensively reach all instances of this defect in first-party code.
- CWE-30partialprevents — Secure coding standards require neutralizing directory traversal sequences such as '\..\' in path construction.
- CWE-301partialprevents — Secure coding practices can implement proper challenge-response logic, but the control is broader than this single weakness.
- CWE-302partialprevents — Secure-coding standards prohibit trusting client-controlled data for authentication decisions.
- CWE-303partialprevents — Secure coding practices reduce the likelihood of incorrect authentication algorithm implementation.
- CWE-304partialprevents — Secure coding practices can prevent missing auth steps, yet the control is not specific to authentication.
- CWE-305partialprevents — Secure coding practices help prevent the primary weakness that enables authentication bypass.
- CWE-306partialremoves — CWE-306 is a first-party code defect, so it falls within A.8.28's `removes` scope (1). The 'code adjusted from reviewed logs after operational' mechanism can remove instances where missing authentication surfaces in operational signals (unauthorized access attempts, suspicious activity), but most CWE-306 instances are architectural omissions discovered through code review or testing rather than logs, so the mechanism reaches only a minority of instances.
- CWE-306partialprevents — A.8.28's secure design and threat modelling guidance (item g) and its prohibition of insecure design techniques directly target missing authentication, so a well-implemented program catches a minority of CWE-306 instances; the remainder is third-party components, legacy code, and developer fallibility, and the clause's declared ceiling on this verb is partial.
- CWE-307partialprevents — A.8.28's secure design/architecture and threat-modelling guidance would lead a developer to implement rate limiting or account lockout, but the clause mandates a practice rather than a specific authentication-throttling mechanism, so what it catches depends on the rigour of implementation — consistent with the partial rungs on CWE-502 and CWE-79.
- CWE-31partialprevents — Secure coding standards require canonicalization and whitelist validation that eliminate CWE-31.
- CWE-312partialprevents — A.8.28 mandates secure design and architecture (including threat modelling) and prohibits insecure design techniques like hard-coded passwords, which addresses the architecture/design phase where CWE-312 is introduced; but the clause mandates a practice rather than a mechanism, so actual prevention depends on whether the secure coding standards specifically address cleartext storage and whether developers follow them, leaving a fallible remainder.
- CWE-313partialprevents — Secure coding standards can require encryption of sensitive data before storage.
- CWE-314partialprevents — Secure coding standards require encryption or protected storage instead of cleartext registry values.
- CWE-315partialprevents — Requires secure coding practices that would eliminate storing sensitive data in cleartext cookies.
- CWE-316partialprevents — Secure-coding standards explicitly require avoiding plaintext storage of secrets in RAM.
- CWE-317partialprevents — Secure coding practices can prevent the weakness but do not address the control's broader scope.
- CWE-318partialprevents — Secure coding standards explicitly forbid embedding secrets or sensitive data in binaries.
- CWE-319partialprevents — A.8.28's secure design, threat modelling, and secure coding standards guidance addresses cleartext transmission at the architecture/design phase, but as a practice-based control the actual prevention depends on implementation rigour — what it catches is a slice the implementer chose rather than the bulk, and hardware-channel cases (JTAG, internal hardware networks) explicitly named in CWE-319 are outside the clause's software-coding scope.
- CWE-32partialprevents — Secure coding standards require canonicalization and filtering of '...' sequences, directly eliminating CWE-32.
- CWE-321partialprevents — A.8.28 explicitly prohibits hard-coded passwords as an example of insecure design techniques and mandates secure coding standards that would cover hard-coded cryptographic keys, but as a practice-based control it is fallible and depends on developer compliance, with the strongest detection coming from A.8.29 security testing.
- CWE-322partialprevents — Secure coding standards can enforce authenticated key exchange in cryptographic implementations.
- CWE-323partialprevents — Secure-coding rules can require unique nonces, but the control is broader than this single weakness.
- CWE-324partialprevents — A.8.28 mandates secure coding standards and practices that can include key lifecycle handling (checking expiration, rotating keys), and its guidance on common coding defects and secure design/architecture reaches this weakness, but the clause mandates a practice rather than a mechanism, so coverage depends on what the standard actually specifies and on developer adherence — consistent with the `partial` rungs on A.8.28 vs CWE-502 and CWE-79.
- CWE-325partialprevents — Requires secure coding practices that would catch missing cryptographic steps during development.
- CWE-328partialprevents — Requires secure coding standards that forbid weak hash functions in source code.
- CWE-329partialprevents — Requires secure coding practices that eliminate predictable IV usage in CBC implementations.
- CWE-33partialprevents — A.8.28's secure coding standards, SAST processes, peer review, and developer training address path traversal input handling, but it mandates a PRACTICE rather than a mechanism — what is actually caught depends on the rigour of the implementation, and the '....' variant is a subtle bypass that some implementations will miss, matching the clause's declared ceiling of partial.
- CWE-330partialprevents — Secure coding standards explicitly prohibit use of weak or predictable random number generators.
- CWE-331partialprevents — Secure-coding rules can explicitly forbid weak random-number generation.
- CWE-332partialprevents — Secure coding standards prohibit weak PRNG usage and require cryptographically secure random functions.
- CWE-333partialprevents — Secure-coding rules can require fallback or health checks for TRNG entropy sources.
- CWE-334partialprevents — Secure-coding standards explicitly call for cryptographically strong random number generation.
- CWE-335partialprevents — Secure-coding standards mandate correct PRNG seeding to avoid predictable random values.
- CWE-336partialprevents — Secure-coding standards can forbid static seeds, yet the control is broader than this single weakness.
- CWE-337partialprevents — Secure coding standards explicitly forbid predictable PRNG seeds.
- CWE-338partialprevents — Secure coding standards prohibit use of weak PRNGs in security contexts.
- CWE-339partialprevents — Requires secure coding practices that include proper PRNG seeding and entropy sources.
- CWE-34partialprevents — Secure coding standards require canonicalization and neutralization of '....//' sequences, directly eliminating this weakness.
- CWE-340partialprevents — Secure-coding standards explicitly forbid predictable random functions and mandate cryptographically secure RNGs, preventing the weakness at the source.
- CWE-341partialprevents — Secure coding practices explicitly forbid use of predictable state (time, PID, counters) for secrets or tokens.
- CWE-342partialprevents — Secure coding standards prohibit predictable random-value generation.
- CWE-343partialprevents — Secure coding standards prohibit predictable RNG implementations.
- CWE-344partialprevents — Secure coding standards can prohibit invariant literals, but coverage depends on specific rule sets.
- CWE-345partialprevents — Secure coding practices include implementing proper data authenticity checks.
- CWE-346partialprevents — Secure coding practices include implementing proper origin validation to prevent spoofing.
- CWE-347partialprevents — A.8.28 mandates secure coding practices (standards, peer review, threat modelling, prohibition of insecure design techniques, use of vetted cryptographic components) that reduce the likelihood of improper signature verification being written, but it is a practice-based control whose effect depends on developer rigour; the weakness still arises where developers misuse verification APIs, omit checks, or use libraries that don't verify by default, leaving a nameable remainder that A.8.29 (security testing) is better positioned to catch.
- CWE-348partialprevents — Secure coding practices can enforce checks that prefer or validate the more trusted data source.
- CWE-349partialprevents — Secure coding standards mandate input sanitization and provenance checks that prevent acceptance of extraneous untrusted data.
- CWE-35partialprevents — Secure coding standards explicitly forbid unsafe path concatenation and mandate canonicalization routines.
- CWE-350partialprevents — Secure coding practices can replace reverse-DNS checks with cryptographically verified identities.
- CWE-351partialprevents — Secure coding standards directly address proper type distinction and validation to prevent type-related flaws.
- CWE-352partialprevents — A.8.28 mandates secure design, threat modelling, secure coding standards and SAST, which a well-implemented programme would extend to CSRF countermeasures (tokens, SameSite, Origin checks), but as a practice-mandating clause the actual coverage depends on implementation rigour, leaving a nameable remainder of instances where CSRF defences are not adopted.
- CWE-353partialprevents — Secure coding standards can require integrity verification mechanisms in protocols.
- CWE-354partialprevents — Secure coding standards require proper implementation and validation of checksums or MACs.
- CWE-354partialremoves — A.8.28's owner-ruled `removes` scope for first-party defects is reuse review and code adjusted from reviewed logs after operational; CWE-354 (improper checksum validation in first-party code) is reached by both mechanisms when the affected code is being reused or when logs surface corruption/attack symptoms, but most instances are in code that is neither reused nor symptomatic in logs, leaving a nameable remainder.
- CWE-356partialprevents — Secure coding practices can embed user warnings before unsafe operations.
- CWE-357partialprevents — Secure coding practices include implementing noticeable, effective UI warnings for risky actions.
- CWE-358partialprevents — Secure coding practices directly address correct implementation of security-relevant checks in standardized algorithms.
- CWE-359partialremoves — A.8.28's owner-ruled `removes` reach covers first-party defects removed through reuse review and code adjusted from reviewed logs after operational; CWE-359 is a first-party defect class, so reuse review can catch PPI handling issues (e.g., passwords logged, excessive permissions) and log review can surface some exposures, but the remainder — data shared with wrong recipients, stored without proper access controls, or collected without consent — is not visible to either mechanism, leaving a nameable bulk outside the control's reach.
- CWE-359partialprevents — A.8.28's secure coding practices prevent some implementation-level PII exposures (e.g., prohibiting hard-coded passwords, not logging sensitive data, peer review catching privacy leaks in code), but the weakness is fundamentally a design and data-governance issue—what data to collect, how to store it, who can access it, consent mechanisms—that secure coding practices alone do not reach, leaving a nameable remainder.
- CWE-36partialprevents — Secure coding standards directly require neutralization of absolute path sequences in pathname construction.
- CWE-360partialprevents — A.8.28's threat modelling, secure design principles, and prohibition of insecure design techniques would lead some developers to recognize that system events lack authentication and to validate event sources, but the weakness is a specific architectural pattern (event spoofing / Shatter-style attacks) whose recognition depends on developer awareness of platform messaging limitations, so only a minority of instances are prevented by the practice.
- CWE-362partialprevents — Secure coding standards explicitly forbid unsafe concurrent access patterns and mandate atomic operations or locks.
- CWE-363partialprevents — Secure coding standards directly address TOCTOU and link-following vulnerabilities, covering most of the weakness while the control also covers many other issues.
- CWE-364partialprevents — Secure coding standards directly prohibit race-prone signal handlers.
- CWE-366partialprevents — Secure coding standards directly require proper synchronization primitives to prevent race conditions.
- CWE-367partialprevents — A.8.28 mandates secure coding practices (threat modelling, secure coding standards, peer review, test-driven development) that can prevent some TOCTOU instances by mandating atomic operations and file locking, but the clause governs a fallible human practice and TOCTOU is notoriously hard to catch in code review, leaving a nameable remainder of instances that slip through.
- CWE-368partialprevents — Secure coding standards can mandate atomic operations and synchronization primitives for context switches.
- CWE-369partialprevents — Secure coding standards directly require validation to prevent divide-by-zero and similar runtime faults.
- CWE-37partialprevents — Secure coding standards directly require validation of file-path inputs to stop absolute-path traversal.
- CWE-370partialprevents — Secure coding practices can prevent missing revocation checks, but eliminating this weakness does not address broader secure-coding objectives.
- CWE-372partialprevents — Secure coding standards can require defensive checks against invalid or ambiguous internal states.
- CWE-374partialprevents — Secure coding standards directly address CWE-374 by requiring defensive copies or immutable interfaces when calling untrusted methods.
- CWE-375partialprevents — Secure coding standards, peer review, SAST, and developer qualification all address the kind of encapsulation defect CWE-375 represents, but A.8.28 mandates a practice whose effect depends on the rigour of implementation, so it catches a minority of instances rather than the bulk.
- CWE-377partialprevents — Secure coding standards explicitly require safe temporary-file APIs and permissions.
- CWE-378partialprevents — Secure coding standards directly prohibit insecure temporary file creation and permissions.
- CWE-379partialprevents — Secure coding standards directly require safe temporary-file creation with restrictive permissions.
- CWE-38partialprevents — Secure-coding standards require canonicalization and whitelist validation of file paths, eliminating this weakness.
- CWE-382partialprevents — A.8.28's secure coding standards, language-specific practices, peer review and SAST can prohibit and catch System.exit() in J2EE contexts, but the mechanism is a fallible human practice whose coverage depends on the rigour of implementation, matching the same ceiling the owner set for A.8.28 against other coding-practice weaknesses.
- CWE-383partialprevents — A.8.28 mandates secure coding standards (including language-specific practices and prohibiting insecure design techniques), which would cover direct thread use in J2EE if the organization's baseline addresses it; but the control mandates a practice rather than a mechanism, so what is actually prevented depends on the rigor of the standards and developer compliance, consistent with the owner's `partial` ceiling for A.8.28 against code-level defects like CWE-502 and CWE-79.
- CWE-384partialprevents — Secure-coding standards can forbid session fixation, but removing the flaw does not achieve the entire coding standard.
- CWE-385partialprevents — Secure coding guidelines may recommend constant-time algorithms but coverage is not guaranteed.
- CWE-386partialprevents — Secure coding standards can mandate direct object handles or validated lookups rather than symbolic names that drift.
- CWE-39partialprevents — Secure coding standards directly require rejecting or normalizing absolute drive-letter paths in file operations.
- CWE-390partialprevents — Secure coding standards typically require explicit error handling, reducing the likelihood of silent failures.
- CWE-391partialprevents — Secure coding standards directly prohibit ignoring exceptions and unchecked errors.
- CWE-392partialprevents — Secure coding standards require functions to return appropriate error codes or status values.
- CWE-393partialprevents — Secure coding standards directly address proper return-value handling and error indication.
- CWE-394partialprevents — Secure coding standards directly mandate checking all legitimate return values and status codes.
- CWE-395partialprevents — Secure coding rules explicitly forbid catching NullPointerException to detect null dereferences.
- CWE-396partialprevents — Secure coding standards explicitly prohibit overly broad exception handlers that mask errors and create exploitable paths.
- CWE-397partialprevents — A.8.28 mandates secure coding standards (item h), language-specific secure coding practices (during-coding item a), peer review, and SAST — all of which address the generic-throws anti-pattern in CWE-397 — but the control mandates a practice rather than a mechanism, so coverage depends on the rigour of the implemented standard and developer compliance, leaving a fallible remainder.
- CWE-40partialprevents — Secure coding standards directly require validation and sanitization of file paths including UNC shares.
- CWE-401partialprevents — Secure coding standards directly require proper allocation/deallocation, covering most of this weakness.
- CWE-403partialprevents — Secure coding rules require closing inherited file descriptors before spawning child processes.
- CWE-407partialprevents — Secure coding practices can include guidelines to avoid or mitigate inefficient algorithms.
- CWE-408partialprevents — A.8.28 mandates secure design and architecture including threat modelling, the principle of least privilege, and analysis of common programming errors before code goes operational — practices that, when rigorously applied, surface and prevent the early-amplification pattern. But the clause mandates a practice rather than a mechanism, so what it actually catches depends on the rigour of implementation, leaving a nameable remainder of instances where developers order operations without consulting the principles.
- CWE-409partialprevents — Secure coding practices directly require bounds checking and safe handling of compressed data.
- CWE-41partialprevents — Secure coding standards directly require canonical path resolution and input sanitization to prevent equivalence attacks.
- CWE-412partialprevents — Secure coding guidelines can enforce internal-only lock control during implementation.
- CWE-413partialprevents — Secure coding standards directly prohibit missing or incorrect resource locks.
- CWE-414partialprevents — Secure coding standards require explicit lock acquisition checks before operating on shared resources.
- CWE-415partialprevents — Secure coding standards directly address proper use of free() and similar functions.
- CWE-416partialprevents — Secure coding standards directly prescribe avoidance of use-after-free patterns.
- CWE-419partialprevents — A.8.28's planning guidance includes secure design, architecture and threat modelling, which addresses the architecture-phase omission that introduces CWE-419, but the control mandates a fallible human practice rather than a mechanism, so it catches a minority of instances — the same ceiling the calibration anchors set for A.8.28 on this verb.
- CWE-42partialprevents — Secure coding standards directly require validation of path inputs to prevent traversal via trailing dots.
- CWE-420partialprevents — A.8.28's threat modelling and attack surface analysis practices (planning item g, pre-operational item a) are designed to identify all access paths to an asset and would catch some unprotected alternate channels, but the control mandates a fallible human practice rather than a mechanism, so only a minority of instances are prevented.
- CWE-421partialprevents — Secure coding guidelines help developers avoid race conditions on alternate communication paths.
- CWE-422partialprevents — Secure coding practices include validating message sources and avoiding elevated processes that accept unauthenticated Windows messages.
- CWE-424partialprevents — Secure coding practices reduce the likelihood of unprotected alternate paths in source code.
- CWE-425partialprevents — Secure coding practices reduce the likelihood of missing authorization checks, yet do not guarantee coverage.
- CWE-426partialprevents — Secure coding standards require absolute paths or integrity-checked search paths, directly mitigating CWE-426.
- CWE-427partialprevents — Secure coding practices directly address the use of fixed or controlled search paths that can be influenced by unintended actors.
- CWE-428partialprevents — Secure coding standards directly mandate quoting search paths and avoiding unsafe path construction.
- CWE-43partialprevents — Secure coding standards directly require sanitizing and rejecting malformed filenames like multiple trailing dots.
- CWE-430partialprevents — Secure coding standards can enforce correct handler registration and prevent mis-wiring.
- CWE-431partialprevents — Secure coding standards explicitly call for implementing handlers for all foreseeable inputs and exceptions.
- CWE-432partialprevents — A.8.28 mandates secure coding standards and practices specific to the languages in use, so a well-implemented programme covering C/C++ would include signal-handler safety guidance (masking, avoiding shared state) and prevent many instances; the remainder is the slice of organisations whose standards do not reach this niche low-level concern, mirroring the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 rungs.
- CWE-433partialprevents — Secure coding practices require explicit server configuration and file-extension handling to avoid raw content delivery.
- CWE-434partialprevents — A.8.28 mandates secure coding practices (input validation principles, threat modelling, attack-surface analysis, prohibiting insecure design techniques, peer review) that reduce the likelihood of an upload-validation defect being written, but the clause governs a human practice rather than a mechanism, so what it actually catches depends on developer rigour and a nameable remainder of instances slips through.
- CWE-435partialprevents — A.8.28's planning items (g) secure design and architecture including threat modelling, and (b) common and historical coding practices and defects, can prevent some interaction errors by surfacing them at design time, but CWE-435 is fundamentally about emergent behaviors from correctly-behaving components whose interactions are inherently hard to predict from coding practice alone, leaving a large remainder that surfaces only at integration or operation.
- CWE-436partialprevents — Secure coding standards can enforce canonical input handling and strict protocol compliance to avoid misinterpretation between products.
- CWE-437partialprevents — A.8.28's secure design and architecture guidance (including threat modelling) and its coverage of common defects can prompt developers to consider endpoint behavior when building intermediaries, preventing some instances; however, CWE-437 is fundamentally a domain-knowledge problem about specific endpoint features and behaviors that general secure coding practice does not systematically reach, leaving a large remainder.
- CWE-44partialprevents — Secure coding standards directly require rejecting or normalizing malformed paths such as internal dots.
- CWE-440partialprevents — Secure coding practices enforce adherence to functional specifications during implementation.
- CWE-441partialprevents — Secure-coding standards can require explicit checks that preserve and verify the original requester identity before acting.
- CWE-444partialprevents — Secure coding standards can require strict HTTP header and request validation to prevent smuggling.
- CWE-444partialremoves — A.8.28 can remove existing request-smuggling flaws through reuse review, corrective code changes informed by operational logs, and updates to external components, but it reaches only reviewed, monitored, or updated code rather than the full weakness class.
- CWE-446partialprevents — Secure coding practices help avoid implementation bugs that cause UI discrepancies, though the control is not focused on UI correctness.
- CWE-447partialprevents — Secure coding practices reduce the chance of leaving security features unimplemented.
- CWE-448partialprevents — Secure coding standards discourage leaving obsolete UI code without user notification.
- CWE-449partialprevents — Secure coding practices enforce correct control-flow and input-to-action mapping in the UI layer.
- CWE-45partialprevents — A.8.28 mandates secure coding practices (input validation, path handling standards, peer review, SAST, threat modelling) that, well implemented, prevent a meaningful slice of CWE-45 instances during development; the remainder is the fallibility of a practice-based control, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at `partial`.
- CWE-450partialprevents — Secure coding practices directly address unambiguous input parsing and user confirmation for less-secure interpretations.
- CWE-451partialprevents — Secure coding practices can prevent UI flaws that obscure or spoof critical information.
- CWE-453partialprevents — Secure coding standards mandate explicit, safe variable initialization.
- CWE-454partialprevents — Secure coding standards directly prohibit initializing trusted data from untrusted sources.
- CWE-455partialprevents — Secure coding practices mandate proper error handling during initialization to prevent insecure fallback states.
- CWE-456partialprevents — Secure coding standards directly require explicit initialization of all variables before use.
- CWE-457partialprevents — Secure coding explicitly requires variable initialization and static-analysis checks.
- CWE-459partialprevents — Secure-coding rules can mandate explicit cleanup of temporary resources, but do not guarantee it.
- CWE-46partialprevents — Secure coding standards directly require stripping or rejecting trailing spaces in file paths, addressing the root cause.
- CWE-460partialprevents — Secure coding standards directly require proper resource release and state restoration after exceptions.
- CWE-462partialprevents — Secure coding standards directly address associative-list key uniqueness and collision handling.
- CWE-463partialprevents — Secure coding standards directly address sentinel misuse and deletion errors.
- CWE-464partialprevents — A.8.28's secure coding practices — input validation, peer review, SAST, coding standards on common defects, and prohibiting unsafe techniques — address some instances of accidental sentinel addition, but the clause mandates a fallible practice rather than a mechanism, so what it catches depends on implementation rigor, matching the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-466partialprevents — Secure coding standards directly address pointer validation and bounds checking, mitigating this specific weakness.
- CWE-467partialprevents — Secure coding rules directly forbid sizeof(pointer) mistakes that produce incorrect buffer sizes.
- CWE-468partialprevents — Secure-coding standards and training directly target pointer arithmetic mistakes, covering most of this weakness while the control also addresses many other issues.
- CWE-469partialprevents — Secure coding standards directly forbid pointer subtraction for size calculations and prescribe safer alternatives.
- CWE-47partialprevents — A.8.28 mandates secure coding principles, input validation practices, SAST use, and analysis of common programming errors, which reduce the likelihood of path-canonicalization defects like leading-space handling being written; the practice is fallible and what it catches depends on the rigour of the standards and tooling actually adopted, leaving a nameable remainder of instances.
- CWE-470partialprevents — Secure coding standards directly forbid unsafe reflection and require whitelisting or static alternatives.
- CWE-471partialprevents — Secure coding standards discourage mutable storage for values that must remain constant.
- CWE-472partialprevents — Secure coding standards require server-side verification of client-supplied data, eliminating the root cause of external control of immutable parameters.
- CWE-473partialprevents — Secure coding standards require disabling register_globals and sanitizing all external inputs, eliminating the root cause of CWE-473.
- CWE-474partialprevents — Secure coding standards explicitly prohibit or wrap functions known to behave differently across OSes and versions.
- CWE-475partialprevents — Secure coding directly addresses avoiding undefined behavior by enforcing defined inputs and error handling in APIs.
- CWE-476partialprevents — Secure coding standards directly require NULL-pointer checks and safe dereference patterns.
- CWE-477partialprevents — Secure coding standards explicitly prohibit use of deprecated/obsolete functions.
- CWE-478partialprevents — Secure coding standards explicitly require exhaustive switch/case handling to prevent unhandled paths.
- CWE-479partialprevents — Secure coding standards explicitly forbid non-reentrant functions inside signal handlers.
- CWE-48partialprevents — A.8.28 mandates secure coding standards, threat modelling, peer review, SAST and prohibition of insecure design techniques, all of which can catch path-handling defects including internal-whitespace equivalence; but the clause governs a fallible human practice, so a minority of instances are prevented while the remainder depends on developer attention to a subtle input-validation corner case.
- CWE-480partialprevents — Secure coding standards and peer review directly prevent accidental use of incorrect operators.
- CWE-481partialprevents — A.8.28's secure coding practices — peer review, IDE configuration to enforce secure code, secure coding standards, and SAST — catch a slice of CWE-481 instances (the typo is a textbook linter/compiler-warning target), but the clause mandates a practice whose effect depends on implementation rigour, so a minority of instances are prevented and the remainder is the fallibility of human practice, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-482partialprevents — Secure coding standards and reviews directly prevent use of comparison operators where assignment was intended.
- CWE-483partialprevents — A.8.28 mandates secure coding practices (structured programming, coding standards, peer review, SAST) that directly address block delimitation defects, but its mechanism is human practice which is fallible, consistent with the partial rungs on A.8.28 vs CWE-502 and CWE-79.
- CWE-484partialprevents — Secure coding rules explicitly require break statements in switch constructs, directly preventing this omission.
- CWE-486partialprevents — A.8.28 mandates secure coding practices (coding standards, peer review, SAST processes, prohibition of insecure techniques) that can prevent class-name comparison defects from being written, but the control's mechanism is human practice whose coverage depends on implementation rigor — not all organizations will include this specific pattern in their standards or configure SAST to detect it, so a minority of instances are prevented.
- CWE-487partialprevents — A.8.28's secure coding principles and language-specific guidance (covering 'common and historical coding practices and defects') can address Java's package-scope misuse, but the control mandates a fallible human practice rather than a mechanism, so it moves a minority of instances.
- CWE-488partialprevents — Secure coding standards mandate correct session handling to prevent exposure of data elements to the wrong session.
- CWE-489partialprevents — Secure coding standards explicitly prohibit leaving debug code active in production.
- CWE-49partialprevents — A.8.28 mandates secure coding standards, peer review, SAST, and developer qualification that would catch some instances of trailing-slash path equivalence defects, but it is a practice-based control whose coverage depends on implementation rigour, leaving a nameable remainder of instances the practices miss.
- CWE-491partialprevents — Secure coding standards directly require final clone or defensive-copy patterns to block object hijacking.
- CWE-492partialprevents — A.8.28 mandates secure coding practices specific to programming languages and prohibits insecure design techniques, so a well-implemented Java coding standard would address inner-class exposure (static/local/anonymous alternatives are a well-known Java security pattern), but the clause mandates a practice rather than a mechanism and what it actually catches depends on the rigour of the standard and developer adherence, leaving a nameable remainder of instances where the pattern slips through.
- CWE-493partialprevents — A.8.28 mandates secure coding standards and principles (item h) and prohibits insecure design techniques, which would cover declaring critical public variables as final; however, this is a human practice whose effect depends on developer compliance, and developers are fallible, so a minority of instances are prevented.
- CWE-494partialprevents — A.8.28 mandates secure coding practices (prohibiting unauthenticated web services, secure design principles, SAST) that would guide developers to verify integrity of downloaded code, but it is a practice-based control whose effect depends on fallible human implementation, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors graded at the same rung.
- CWE-495partialprevents — Secure coding standards can forbid public methods that return references to private mutable structures, largely eliminating this weakness.
- CWE-496partialprevents — A.8.28's secure coding standards, peer review and SAST guidance would catch some instances of this Java-specific defensive-copying defect, but the clause mandates a practice whose coverage depends on implementation rigor, matching the `partial` rung set by A.8.28 against other code-level defects like CWE-502 and CWE-79.
- CWE-497partialprevents — A.8.28's secure coding guidance directly addresses this implementation defect — prohibiting insecure design techniques, removing programming defects, and analysing common programming errors would cover not exposing stack traces, environment variables, or system paths in error output — but the clause mandates a practice whose effect depends on developer rigour, so it catches a minority of instances, consistent with the A.8.28 ceiling on coding defects.
- CWE-498partialprevents — A.8.28 mandates secure coding standards, peer review, and SAST — all of which can catch a cloneable class holding sensitive data — but it is a practice-based control whose coverage depends on the rigour of the standards chosen and the review discipline applied, so it catches a minority of instances with a nameable remainder (organizations whose standards do not specifically address this pattern, or where review misses it).
- CWE-499partialprevents — Secure coding standards directly require marking sensitive classes as non-serializable or implementing custom serialization controls.
- CWE-5partialprevents — A.8.28's secure coding standards and prohibition of insecure design techniques can address the programmer-error aspect of CWE-5 (relative links that fail to switch from HTTP to HTTPS), but the J2EE configuration misconfiguration itself (transport-guarantee, security-constraint settings) and the user-behavior and attacker-redirect causes are outside the clause's reach as a coding practice.
- CWE-50partialprevents — Secure coding standards directly address path traversal and equivalence vulnerabilities.
- CWE-500partialprevents — A.8.28 mandates secure coding standards, peer review, and SAST processes that would catch a non-final public static field, but the clause establishes practices rather than mechanisms; whether the weakness is prevented depends on whether the organization's standards specifically address it, whether developers follow them, and whether tooling is configured to enforce it, leaving a fallible remainder.
- CWE-501partialprevents — Secure coding standards can enforce input validation and data tagging, but do not guarantee architectural separation.
- CWE-502partialprevents — Requiring vetted libraries, regular updates and SAST before release reduces the likelihood that deserialization logic will accept and act on attacker-controlled serialized objects.
- CWE-507partialprevents — Secure coding practices help detect and eliminate hidden Trojan Horse functionality.
- CWE-508partialprevents — A.8.28 includes code review, peer review, SAST, source-code protection against tampering, and prohibition of unapproved code samples, which can catch or deter some malicious code, but the clause's primary mechanism is preventing unintentional vulnerabilities in securely-intentioned code, not detecting intentional malice, so most instances of CWE-508 are not prevented.
- CWE-509partialprevents — Secure coding practices such as review, source protection, and vetting of external components can catch some malicious or unapproved code before release, but deliberate malware can be obfuscated and can also enter during operation, leaving a substantial remainder.
- CWE-51partialprevents — A.8.28's secure coding practices (input validation principles, peer review, SAST, prohibition of insecure techniques) reduce instances of path normalization defects like CWE-51, but the mechanism is fallible human practice and SAST detection of path-equivalence variants is incomplete, leaving a nameable remainder.
- CWE-510partialprevents — A.8.28's practices (peer review, threat modelling, source code protection, qualified developers, vetted components, controlled environments) deter and catch some trapdoors, but the weakness is by design hidden and meant to evade normal review, and a determined insider or supply-chain compromise can still insert one that slips past these fallible human practices -- consistent with the clause's declared `partial` ceiling on `prevents`.
- CWE-511partialprevents — Secure coding standards and peer review directly prevent insertion of malicious time- or logic-triggered code.
- CWE-515partialprevents — Secure coding practices can avoid some covert storage patterns but cannot cover all implementation flaws.
- CWE-52partialprevents — A.8.28 mandates secure coding practices covering input validation and path handling, and its SAST guidance can catch some path-equivalence defects, but the clause sets a practice rather than a mechanism, so coverage depends on developer skill and tool configuration — consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors at the same rung.
- CWE-520partialprevents — Secure coding practices (threat modelling, secure design principles, coding standards prohibiting insecure design techniques) can reduce instances of dangerous .NET impersonation configuration, but the weakness can also be introduced at the Operation phase outside the secure coding process, and the practice is fallible on a specialized platform-specific misconfiguration.
- CWE-521partialprevents — A.8.28's secure coding principles and standards (item h) and its prohibition on insecure design techniques can include password strength requirements, so a system under the clause is less likely to ship without them; but the clause mandates a practice whose effect depends on implementation rigor, leaving a nameable remainder where developers omit or weaken the requirement.
- CWE-523partialprevents — Requires secure coding practices that can prevent unprotected credential transmission.
- CWE-524partialprevents — Secure coding practices prevent caching of sensitive data outside intended boundaries.
- CWE-525partialprevents — Secure coding standards can mandate proper cache-control headers and form-field handling to prevent sensitive data retention.
- CWE-526partialprevents — Secure coding standards typically prohibit storing sensitive information in cleartext environment variables.
- CWE-529partialprevents — Secure coding principles guide developers to avoid writing code that exposes ACL files, but CWE-529 is introduced during the Operation phase by omitting a security tactic in architecture and design, and A.8.28's coding practices do not govern where an operational system places its access control list files.
- CWE-53partialprevents — A.8.28 mandates secure coding practices (threat modelling, language-specific guidance, peer review, SAST, prohibited insecure techniques) that reduce path-handling defects like CWE-53, but the clause governs a fallible human practice and the strongest discovery mechanism for this class sits in A.8.29 testing, so only a minority of instances are kept from arising.
- CWE-530partialprevents — CWE-530 is an operational/deployment weakness about where backup files are stored and who can access them — web server configuration, filesystem permissions, archive placement — none of which A.8.28's secure-coding mechanism reaches; the clause governs how code is written, not how files are deployed or served.
- CWE-531partialprevents — Secure coding standards can require scrubbing or exclusion of secrets from test modules.
- CWE-532partialprevents — A.8.28 mandates secure coding practices that include guidance on what not to log (sensitive data is exactly the kind of 'common and historical coding practice' the clause names), but the mechanism is human practice — developers must know what counts as sensitive, redact it, and apply that consistently across error paths and third-party libraries. This is the same practice-not-mechanism reading that graded A.8.28 -> CWE-79 and A.8.28 -> CWE-502 at `partial`, and the clause carries a declared ceiling of `partial` on this verb for code-level defects.
- CWE-535partialprevents — Secure coding standards directly require handling exceptions without exposing internal details.
- CWE-536partialprevents — A.8.28 mandates secure coding practices (exception handling standards, peer review, SAST, analysis of common programming errors) that directly address the implementation defect behind CWE-536, but it is a practice-based control whose effect depends on implementation rigor, so it prevents a minority of instances -- consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors.
- CWE-537partialprevents — A.8.28 mandates secure coding principles covering exception handling and prohibiting insecure design techniques, which addresses the root cause of CWE-537, but the clause sets a practice rather than a mechanism — what is actually prevented depends on developer discipline, so a minority of instances are kept from arising.
- CWE-538partialprevents — Secure coding standards, peer review, and SAST can catch some instances of developers writing sensitive data (credentials, PII, card numbers) into logs or accessible files, but the practice is fallible and the 'externally accessible' dimension often depends on deployment configuration the clause does not reach, leaving a nameable remainder.
- CWE-539partialprevents — Secure coding standards directly forbid embedding sensitive information in persistent cookies.
- CWE-54partialprevents — A.8.28 mandates secure coding practices including input validation, path handling standards, developer training, and SAST — a well-implemented programme establishes principles that cover path normalization and would catch a meaningful slice of trailing-backslash handling defects, but the practice is fallible and the specific subtlety of backslash equivalence is not guaranteed to be addressed by every implementation, leaving a nameable remainder.
- CWE-540partialprevents — Secure coding standards explicitly prohibit hard-coding credentials or sensitive data.
- CWE-541partialprevents — Secure coding standards directly prohibit embedding credentials in include files.
- CWE-543partialprevents — A.8.28's secure coding practices — peer review, threat modelling, secure coding standards covering language-specific techniques including concurrency, and qualification of developers — catch some instances of unsynchronized singleton patterns, but the clause mandates a fallible human practice rather than a mechanism, and the stronger effect on this weakness sits with A.8.29 security testing.
- CWE-544partialprevents — Secure coding explicitly calls for uniform, standardized error handling to avoid introducing weaknesses.
- CWE-546partialprevents — A.8.28's practices (peer review, refactoring, code review, 'removing programming defects') would catch and remove some suspicious comments before code is merged, but the clause does not specifically prohibit comments like TODO/FIXME/HACK/BUG, and these markers are extremely common even in reviewed codebases; the clause targets security vulnerabilities while CWE-546 is a code-quality indicator, so only a minority of instances are prevented.
- CWE-547partialprevents — Secure coding standards explicitly prohibit hard-coded security constants.
- CWE-548partialprevents — Secure coding practices ensure developers do not leave directory listing enabled on production web servers.
- CWE-549partialprevents — Secure coding practices would include implementing password masking, but the control is broader than this single weakness.
- CWE-55partialprevents — A.8.28 mandates secure coding practices (input validation, path canonicalization, peer review, SAST) that would catch many instances of CWE-55, but as a practice-based control it is fallible and depends on developer rigor, matching the same ceiling the owner set for A.8.28 against CWE-502 and CWE-79.
- CWE-550partialprevents — Secure coding standards prohibit embedding sensitive data in server error messages.
- CWE-551partialprevents — Secure coding practices directly address canonicalization and authorization sequencing flaws.
- CWE-552partialprevents — A.8.28's secure coding principles (threat modelling, principle of least privilege, prohibiting insecure design techniques, secure coding standards) can prevent some instances of CWE-552 where the weakness arises from coding decisions about file placement or in-code access controls, but a substantial portion of CWE-552 is configuration/deployment (cloud storage misconfiguration, web server config) that secure coding practice does not reach, and what is covered depends on the rigour of the implementer's practice.
- CWE-554partialprevents — A.8.28's secure coding standards (item h) and language-specific practices (during-coding item a) would mandate use of ASP.NET's input validation framework, and IDE configuration (planning item c) can enforce it, so a well-implemented programme prevents most instances from arising; the remainder is the fallibility of human practice and code outside the governed scope, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at `partial`.
- CWE-555partialprevents — A.8.28's 'During coding' guidance (e) explicitly prohibits hard-coded passwords, which directly addresses plaintext credentials in configuration files, but the clause mandates a fallible human practice rather than a mechanism, so what is actually caught depends on developer rigour and a nameable remainder (config files authored outside the secure-coding process, third-party defaults, deployment-time configuration) survives.
- CWE-556partialprevents — Graded partial by the owner; no reasoning was recorded for this row beyond the grade.
- CWE-558partialprevents — A.8.28's secure coding principles, language-specific guidance, peer review, and SAST processes would catch many instances of getlogin() misuse in multithreaded code through standards addressing reentrancy and code review, but the clause mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances that slip through.
- CWE-56partialprevents — A.8.28 mandates secure coding principles and standards that would typically cover input validation for path handling, reducing instances of CWE-56, but as a practice-based control with fallible human implementation it only addresses a minority of cases — the same reading that graded A.8.28 -> CWE-79 and A.8.28 -> CWE-502 at `partial`.
- CWE-560partialprevents — A.8.28 mandates secure coding practices — standards, developer qualification, peer review, SAST, analysis of common programming errors — that bear on this implementation defect, but the clause mandates a practice rather than a mechanism, so what it actually catches depends on the rigour of implementation; the umask/chmod confusion is subtle and arises from misleading documentation, leaving a nameable remainder of instances that pass through.
- CWE-561partialprevents — Secure coding standards require removal of dead code to improve maintainability and reduce attack surface.
- CWE-562partialprevents — Secure coding standards directly prohibit returning addresses of stack variables.
- CWE-563partialprevents — A.8.28's mandated practices (peer review, IDE/linter configuration, SAST, 'removing programming defects') can catch some dead stores before they ship, but the clause's stated purpose is reducing security vulnerabilities, not code quality, and CWE-563 is classified as a quality issue — so coverage depends on implementation rigor and reaches only a minority of instances.
- CWE-564partialprevents — Secure coding explicitly requires parameterized queries and safe Hibernate usage to prevent injection.
- CWE-565partialprevents — Secure coding practices directly eliminate reliance on unvalidated cookies by requiring proper integrity checks and server-side verification.
- CWE-566partialprevents — Secure-coding standards mandate parameterized queries and server-side authorization, eliminating the root cause of CWE-566.
- CWE-567partialprevents — Secure coding standards directly require synchronization of shared variables across threads.
- CWE-568partialprevents — A.8.28 mandates secure coding standards, SAST, peer review and prohibition of insecure techniques, which a well-implemented programme would extend to Java-specific conventions like super.finalize(); but the control governs a fallible human practice, so a minority of instances are caught before the code is written.
- CWE-57partialprevents — Mandates secure coding techniques such as proper pathname canonicalization and input sanitization.
- CWE-570partialprevents — Secure coding standards and practices directly prevent constant-false expressions through disciplined coding and peer review.
- CWE-571partialprevents — Secure coding standards and practices directly target logic errors such as tautological expressions.
- CWE-572partialprevents — Secure coding practices (peer review, code review, SAST, language-specific guidance) can catch some instances of this Java threading bug, but the practice is fallible and the defect is subtle enough that it slips through a well-implemented programme a meaningful share of the time, matching the A.8.28 rung established for other implementation-phase defects.
- CWE-573partialprevents — Secure coding standards enforce correct use of APIs, protocols and language features, mitigating caller specification violations.
- CWE-574partialprevents — A.8.28 mandates secure coding standards specific to programming languages and techniques, developer qualification, and code review — a well-implemented programme would include EJB-specific guidance prohibiting synchronization primitives, catching a slice of instances; the practice remains fallible and the ceiling for A.8.28 against specific coding defects is partial.
- CWE-576partialprevents — A.8.28's secure coding standards and language-specific practices (item a under 'During coding') can include EJB-specific rules prohibiting java.io in beans, and its prohibition on insecure design techniques reaches this kind of specification violation, but the clause mandates a practice whose effect depends on the rigour of the standards adopted and developer adherence, so only a minority of instances are kept from arising.
- CWE-577partialprevents — A.8.28 mandates secure coding standards specific to the programming languages and techniques in use, and prohibits insecure design techniques — a well-implemented standard covering EJB would keep developers from writing socket code in beans. But the clause mandates a PRACTICE, not a mechanism, and what it actually catches depends on the rigour of the standard and developer adherence, so only a minority of instances are prevented (the same reading that graded A.8.28 -> CWE-79 at `partial`).
- CWE-578partialprevents — A.8.28 mandates secure coding principles and standards specific to programming languages and techniques, which can include EJB-specific guidance prohibiting class loader misuse; however, the clause mandates a practice rather than a mechanism, so coverage depends on whether the organization's standards actually address this EJB rule and on developer adherence, leaving a nameable remainder of instances where the defect still arises.
- CWE-579partialprevents — A.8.28 mandates language-specific secure coding practices, peer review, and coding standards that, where they cover J2EE serializability requirements, prevent this weakness from being introduced; the practice is fallible and depends on developer awareness of this specific J2EE constraint, leaving a nameable remainder.
- CWE-58partialprevents — A.8.28 mandates secure coding practices (threat modelling, peer review, SAST, analysis of common programming errors) that could catch some instances of the Windows 8.3 filename bypass if developers happen to know the issue, but CWE-58 is a niche, Windows-specific implementation flaw marked 'probably under-studied' that general secure coding training and standard SAST tools do not reliably reach, so only a minority of instances are prevented.
- CWE-580partialprevents — A.8.28 mandates secure coding practices (training, peer review, coding standards, SAST) that would catch some instances of this Java-specific implementation defect, but the mechanism is human practice which is fallible, matching the same ceiling the owner set for A.8.28 against CWE-502 and CWE-79.
- CWE-581partialprevents — A.8.28's secure coding standards, peer review, and SAST processes can mandate and catch the equals/hashCode contract violation, but the control mandates a practice whose effect depends on implementation rigor and developer fallibility, matching the same `partial` rung as A.8.28 vs CWE-502 and CWE-79.
- CWE-582partialprevents — A.8.28's secure coding standards, IDE configuration, peer review and developer qualification would catch this well-known Java anti-pattern in a well-implemented programme, but the mechanism is human practice and fallible, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at `partial`.
- CWE-583partialprevents — A.8.28 mandates secure coding standards and developer qualification, which would prohibit declaring finalize() as public in well-implemented programmes, but the clause governs a practice rather than a mechanism, so coverage depends on the rigour of the standards adopted and the fallibility of developers — the same ceiling that bounds A.8.28 against CWE-502 and CWE-79.
- CWE-584partialprevents — A.8.28's secure coding standards, peer review, and SAST processes can catch and prevent a return-in-finally pattern in Java, but the clause mandates a practice whose coverage depends on the rigour of the standards adopted and the fallibility of developers, leaving a nameable remainder of instances that slip through.
- CWE-585partialprevents — A.8.28 mandates secure coding practices (peer review, SAST, secure coding standards, analysis of common programming errors) that would catch most empty synchronized blocks, but the clause governs a fallible human practice whose coverage depends on implementation rigour, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-586partialprevents — A.8.28 mandates secure coding standards, prohibits insecure design techniques, and includes SAST, which together reduce the likelihood of an explicit finalize() call being written, but the control is a fallible practice and the ceiling for A.8.28 on `prevents` is `partial`.
- CWE-587partialprevents — Secure coding standards directly forbid assigning fixed addresses to pointers.
- CWE-588partialprevents — Secure coding standards directly forbid casting non-structures to structures and accessing fields.
- CWE-589partialprevents — A.8.28's secure coding standards, developer qualification, and guidance on common defects can reduce use of non-ubiquitous APIs (especially security-relevant ones) through mandated practices, but the control mandates a practice rather than a mechanism, so coverage depends on implementation rigour and a nameable remainder of instances slips through.
- CWE-59partialprevents — Secure coding standards directly address canonicalization and symlink attacks during implementation.
- CWE-590partialprevents — Secure coding standards explicitly forbid freeing pointers not obtained from heap allocators, directly mitigating CWE-590.
- CWE-591partialprevents — Secure-coding standards can mandate use of locked-memory APIs, directly preventing the weakness.
- CWE-593partialprevents — A.8.28 mandates secure coding standards, peer review, SAST, and analysis of common programming errors, which can catch some instances of this specific OpenSSL API misuse pattern, but the defect is niche enough that general secure-coding governance only addresses a minority of instances and the practice is fallible, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-594partialprevents — A.8.28 mandates secure coding standards, developer qualification, peer review, and SAST — practices that, well implemented, would catch the failure to make session-scoped J2EE objects Serializable before code ships — but the control mandates a practice whose effect depends on the rigour of implementation, matching the owner's ceiling of `partial` for A.8.28 on code-level defects.
- CWE-595partialprevents — A.8.28's secure coding standards, peer review, training, and SAST can prevent some instances of CWE-595 (e.g., a standard mandating .equals() over ==, or review catching the misuse), but the mechanism is fallible human practice, so only a minority of instances are kept from arising.
- CWE-597partialprevents — Secure coding rules directly prohibit use of the wrong string-comparison operator.
- CWE-598partialprevents — Secure coding standards directly prohibit placing secrets in query parameters.
- CWE-599partialprevents — Requires secure coding practices that would include proper certificate validation in OpenSSL usage.
- CWE-6partialprevents — A.8.28's secure coding standards and secure design/architecture guidance could include J2EE-specific secure configuration requirements (such as session ID length), preventing some instances, but the clause mandates a general practice rather than a specific mechanism for this narrow framework-configuration weakness, and developers remain fallible on framework-specific defaults they have not been trained on.
- CWE-600partialprevents — Secure coding standards directly prescribe catching and sanitizing exceptions in servlets to avoid leaking debug data.
- CWE-601partialprevents — A.8.28 mandates secure coding practices (peer review, secure coding standards, training, threat modelling, SAST) that address input validation and redirect handling, so a system under it sees fewer open redirect instances; the practice is fallible and the clause mandates a practice rather than a mechanism, leaving a nameable remainder of instances that slip through, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-602partialprevents — Secure coding standards require server-side checks and reject client-only enforcement.
- CWE-603partialprevents — Secure coding standards discourage reliance on client-side authentication logic.
- CWE-605partialprevents — Secure coding practices can include checks to ensure sockets request exclusive port binding.
- CWE-606partialprevents — Secure coding standards directly mandate validation of loop-control inputs to prevent unbounded iteration.
- CWE-607partialprevents — A.8.28 mandates secure coding standards, peer review, and SAST processes that can catch a public static final field referencing a mutable object (e.g., a Java array), but the control's mechanism is human practice and tool-assisted review, which catches a minority of instances of this subtle implementation defect.
- CWE-608partialprevents — A.8.28 mandates secure coding standards, IDE configuration to enforce secure code, developer qualification, and prohibition of insecure design techniques — all of which can prevent a non-private field in a Struts ActionForm from being written. But the clause mandates a practice rather than a mechanism, so what it actually catches depends on the rigour of the organization's specific standards, IDE rules, and code review — consistent with the owner's `partial` grading of A.8.28 against CWE-502 and CWE-79.
- CWE-609partialprevents — A.8.28 mandates secure coding standards, peer review, SAST, and developer qualification, all of which can catch the well-known double-checked locking anti-pattern, but the clause governs a fallible human practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances where the defect is still written.
- CWE-61partialprevents — Secure-coding standards mandate explicit symlink checks and safe open patterns, fully mitigating CWE-61.
- CWE-610partialprevents — Secure coding standards require input validation and canonicalization to block externally controlled resource references.
- CWE-611partialprevents — Secure coding standards require disabling DTDs and external entities in XML processing.
- CWE-612partialprevents — A.8.28's threat modelling (item g), secure design principles, and pre-operational attack-surface/least-privilege evaluation would catch some instances of improper index authorization at design time, but the weakness is fundamentally an access-control design decision rather than a coding defect, and the clause mandates a fallible practice whose coverage depends on developer rigour.
- CWE-613partialprevents — A.8.28's secure coding principles and standards would include session management requirements (timeouts, invalidation), reducing instances where developers omit session expiration, but the control mandates a practice rather than a mechanism and developers remain fallible; the strongest effect on this weakness comes from A.8.29 testing, consistent with the clause's declared ceiling of partial on this verb.
- CWE-614partialprevents — Secure coding practices directly prevent missing the Secure attribute on sensitive cookies, though the control covers many other coding issues.
- CWE-615partialprevents — Secure-coding standards and training directly discourage embedding secrets or sensitive data in comments.
- CWE-616partialprevents — Secure coding explicitly prohibits use of deprecated upload variables and requires validated, server-side file handling.
- CWE-617partialprevents — Secure coding standards explicitly ban the use of assert() or equivalent statements that can be triggered by external input.
- CWE-618partialprevents — Secure coding standards directly prohibit unsafe ActiveX method exposure and require least-privilege interfaces.
- CWE-619partialprevents — A.8.28's secure coding practices (exception handling, structured programming, peer review, test-driven development, analysis of common programming errors) reach some instances of dangling-cursor defects, but the clause mandates a practice rather than a mechanism, so what it catches depends on the rigour of implementation — the same ceiling that graded A.8.28 -> CWE-502 and A.8.28 -> CWE-79 at `partial`.
- CWE-62partialprevents — Secure-coding practices can mandate safe file-open APIs and link validation, directly addressing the weakness.
- CWE-620partialprevents — A.8.28 mandates secure coding principles covering authentication flows and common defects, so a developer following them would require original-password verification; but it is a practice-based control whose coverage depends on implementation rigor, leaving a fallible remainder that stronger controls (testing, dedicated auth controls) would catch.
- CWE-621partialprevents — Secure coding standards directly prohibit unvalidated variable extraction from external input.
- CWE-622partialprevents — Secure coding standards directly require argument validation for any exposed or hooked functions.
- CWE-623partialprevents — Secure coding standards explicitly forbid marking ActiveX controls as safe-for-scripting unless truly safe.
- CWE-624partialprevents — Secure coding standards directly address safe regex construction and ban user-supplied pattern modifiers.
- CWE-625partialprevents — Secure coding standards directly prohibit permissive regex and enforce strict pattern validation.
- CWE-626partialprevents — Secure coding standards directly address null-byte handling and input sanitization.
- CWE-627partialprevents — Secure coding standards directly prohibit or constrain dynamic variable evaluation to prevent arbitrary access.
- CWE-628partialprevents — Secure coding standards directly address proper function-call syntax and argument validation.
- CWE-637partialprevents — Secure coding guidelines may discourage complex constructs but do not specifically address protection-mechanism design.
- CWE-639partialprevents — Secure coding practices reduce the likelihood of missing authorization checks but do not guarantee their presence at runtime.
- CWE-64partialprevents — Secure coding practices can implement proper validation of .LNK targets to prevent unauthorized file operations.
- CWE-640partialprevents — Secure-coding standards can prevent weak recovery implementations, yet the control is wider in scope.
- CWE-641partialprevents — Secure coding standards explicitly require validation and sanitization of filenames derived from external input.
- CWE-642partialprevents — Secure coding guidelines can prevent the practice of storing critical state in externally accessible locations.
- CWE-643partialprevents — Secure coding standards require proper neutralization of untrusted input in XPath expressions.
- CWE-644partialprevents — Secure coding standards require proper escaping or rejection of scripting syntax in HTTP headers.
- CWE-645partialprevents — A.8.28's secure design and architecture guidance (including threat modelling) and its coverage of common defects leading to vulnerabilities can reach the lockout-threshold design choice, but the weakness is primarily an authentication-mechanism design decision rather than a coding defect, and the practice is fallible like other A.8.28 reaches.
- CWE-646partialprevents — Secure coding standards explicitly require validating file content rather than trusting names or extensions.
- CWE-647partialprevents — Secure-coding standards that require URL canonicalization and safe path handling eliminate the root cause of the weakness.
- CWE-648partialprevents — Secure coding standards can enforce correct usage of privileged APIs.
- CWE-649partialprevents — Secure coding practices include validating integrity of encrypted/obfuscated inputs before use.
- CWE-65partialprevents — Secure-coding practices can require canonicalization and path validation to prevent following unintended hard links.
- CWE-650partialprevents — Secure coding practices directly address improper HTTP method usage and ensure state-changing operations use POST/PUT/DELETE.
- CWE-651partialprevents — Secure coding principles covering threat modelling, secure design and architecture, and attack surface analysis can prevent some instances of WSDL exposing sensitive information by shaping what the service interface reveals, but the weakness is fundamentally a design/API-surface decision that depends on whether the organization's secure coding standards specifically address WSDL design, and the WSDL is often auto-generated from code the clause does not directly govern.
- CWE-652partialprevents — Secure coding standards require proper neutralization of untrusted input in query expressions.
- CWE-654partialprevents — A.8.28's planning items (g) secure design and architecture including threat modelling, and (h) secure coding standards, plus the prohibition on insecure design techniques, can surface the need for multiple factors during design; but the clause mandates a practice whose effect depends on developer rigour, and single-factor reliance is an architectural choice that secure coding practices only catch when implementers choose to apply them — a slice with a nameable remainder, consistent with the A.8.28 -> CWE-79 and A.8.28 -> CWE-502 anchors.
- CWE-656partialprevents — Secure-coding rules prohibit hidden or undocumented security mechanisms.
- CWE-66partialprevents — Secure coding standards directly address safe file-name handling and canonicalization, substantially mitigating this weakness.
- CWE-662partialprevents — Secure coding standards explicitly mandate proper use of locks, semaphores, and atomic operations to eliminate race conditions.
- CWE-663partialprevents — Secure coding standards explicitly forbid use of non-reentrant functions in multi-threaded or signal-handling code.
- CWE-664partialprevents — Secure coding practices help avoid lifetime control bugs but do not address the full scope.
- CWE-665partialprevents — Secure coding standards explicitly forbid uninitialized variables and mandate proper resource initialization before use.
- CWE-667partialprevents — Secure coding standards directly prohibit missing or incorrect lock usage.
- CWE-67partialprevents — Secure coding standards directly address proper handling of Windows reserved device names in pathnames.
- CWE-670partialprevents — Secure coding standards and reviews directly target flawed control-flow implementations.
- CWE-672partialprevents — Secure-coding rules require checks that prevent operations on freed or expired objects.
- CWE-674partialprevents — Secure coding standards directly prohibit or constrain recursive constructs that could exhaust stack or memory.
- CWE-675partialprevents — Secure coding standards directly address avoiding multiple operations on a resource in a single-operation context.
- CWE-676partialprevents — Secure coding standards explicitly ban or restrict dangerous functions such as strcpy, gets, or system.
- CWE-680partialprevents — Secure coding standards directly require prevention of integer overflows that lead to buffer overflows.
- CWE-681partialprevents — Secure coding standards directly address correct numeric type conversions and overflow checks.
- CWE-682partialprevents — Secure coding standards directly prohibit unsafe arithmetic and require defensive checks against incorrect results.
- CWE-683partialprevents — Secure coding standards can mandate argument-order checks and static analysis, but do not guarantee elimination of all ordering mistakes.
- CWE-685partialprevents — Secure coding practices (peer review, pair programming, IDE configuration, SAST, coding standards) catch some function-signature typos and copy-paste errors, but the weakness is fundamentally a slip during implementation that even rigorous practice does not eliminate, consistent with the A.8.28 -> CWE-502 anchor at `partial`.
- CWE-686partialprevents — Secure coding directly addresses type safety, static analysis, and compiler warnings for argument mismatches.
- CWE-687partialprevents — Secure coding directly addresses correct function-call argument usage.
- CWE-688partialprevents — Secure coding standards directly address proper function-call argument usage and validation.
- CWE-689partialprevents — Mandates secure coding techniques to set permissions atomically during copy.
- CWE-69partialprevents — Secure-coding standards and reviews can require explicit handling or disabling of alternate data streams, directly addressing the root cause in application code.
- CWE-690partialprevents — Secure coding standards explicitly forbid unchecked return values leading to NULL dereference.
- CWE-691partialprevents — Secure coding standards explicitly forbid constructs that allow unintended control-flow changes such as missing breaks or unsafe jumps.
- CWE-692partialprevents — Secure-coding rules directly require allow-list or context-aware escaping instead of incomplete denylists for XSS.
- CWE-693partialprevents — A.8.28's secure coding principles, threat modelling, coding standards, and prohibition of insecure design techniques address a meaningful slice of protection-mechanism failures (missing, insufficient, ignored), but CWE-693 is a Class-level weakness spanning architectural, implementation, and operational protection failures that the clause does not reach, and the practice is fallible.
- CWE-694partialprevents — Secure coding standards can mandate unique identifier generation and validation.
- CWE-695partialprevents — Secure coding standards directly prohibit disallowed low-level functionality.
- CWE-696partialprevents — Secure coding standards enforce correct execution order of security-critical operations.
- CWE-697partialprevents — Secure coding standards directly address avoiding incorrect comparison operators and logic.
- CWE-698partialprevents — Secure coding standards directly address proper redirect handling and flow termination.
- CWE-7partialprevents — A.8.28's secure coding principles, prohibition of insecure design techniques, and guidance on common/historical defects can reach the J2EE-specific practice of defining custom error pages, but the clause mandates a practice rather than a mechanism, and the J2EE-specific configuration knowledge required is a fallible human element that leaves a nameable remainder.
- CWE-703partialprevents — A.8.28 mandates secure coding practices that directly address exception handling (return-value checks, specific exception types, edge-case handling) and explicitly requires analysis of common programming errors, so a system under the clause sees fewer improper-exception-handling defects; but the clause mandates a practice whose coverage depends on implementation rigor, leaving a nameable remainder of instances the practice does not reach.
- CWE-704partialprevents — Secure coding standards directly forbid or detect incorrect type casts.
- CWE-705partialprevents — Secure coding standards directly address correct return and exception handling to prevent control-flow errors.
- CWE-706partialprevents — Secure-coding standards directly address canonicalization, input validation and safe name resolution, mitigating CWE-706.
- CWE-707partialprevents — Secure coding standards directly require proper neutralization of inputs and outputs, eliminating CWE-707.
- CWE-708partialprevents — A.8.28's secure coding practices (standards, peer review, threat modelling, SAST) can catch incorrect ownership assignment where developers explicitly handle resource ownership in code, but the control mandates a practice rather than a mechanism, and many instances arise from installation/configuration contexts (CVE-2024-43199, CVE-2007-4238) or system-level calls the developer's coding standard may not specifically address.
- CWE-710partialprevents — Directly requires secure coding practices and standards.
- CWE-72partialprevents — A.8.28's secure coding practices (developer qualification, coding standards specific to languages/techniques, prohibiting insecure techniques, peer review) would prevent some instances where developers are specifically educated about HFS+ alternate data stream handling, but the weakness is theoretical, under-studied, and platform-specific enough that most developers would not encounter or recognize it, leaving a large remainder outside the practice's reach.
- CWE-73partialprevents — Secure coding standards require canonicalization, allow-listing, and bounds checks on file paths, directly eliminating CWE-73.
- CWE-733partialprevents — Secure coding standards explicitly address compiler flags and volatile/optimization barriers for security-critical code.
- CWE-74partialprevents — Secure coding standards require proper neutralization of special elements, directly addressing CWE-74.
- CWE-749partialprevents — Secure coding standards explicitly prohibit inclusion of dangerous methods or functions in production APIs.
- CWE-75partialprevents — Secure coding standards require rigorous input sanitization, directly eliminating CWE-75.
- CWE-754partialprevents — Secure coding standards directly mandate proper checks for exceptional and unusual conditions.
- CWE-755partialprevents — Secure coding standards mandate proper exception handling to avoid CWE-755.
- CWE-756partialprevents — Secure coding practices directly address proper error handling and custom error pages.
- CWE-757partialprevents — Secure coding standards can mandate checks to reject weaker negotiated algorithms.
- CWE-757partialremoves — A.8.28's removal reach is limited to defects in the organization's own code (via reuse review or log-driven adjustment) and to third-party weaknesses addressed by updating external libraries, and CWE-757 is a design-level protocol negotiation flaw that is neither a first-party coding defect nor a weakness remedied by library updates.
- CWE-758partialprevents — Secure coding explicitly prohibits constructs whose behavior is undefined, unspecified or implementation-defined.
- CWE-759partialprevents — Secure coding standards explicitly forbid unsalted password hashes and require salting.
- CWE-76partialprevents — Secure coding standards directly address proper neutralization of all equivalent special elements.
- CWE-760partialprevents — Secure coding explicitly prohibits predictable salts and mandates cryptographically secure random salts.
- CWE-761partialprevents — Secure coding rules directly forbid freeing a pointer that is not at the start of an allocated buffer.
- CWE-762partialprevents — Secure coding standards directly prohibit mismatched memory-management calls and enforce safe patterns.
- CWE-763partialprevents — Secure coding standards directly prohibit mismatched or incorrect pointer-release calls.
- CWE-764partialprevents — Secure coding standards and reviews can catch and prevent erroneous multiple-lock sequences in source code.
- CWE-765partialprevents — Secure coding standards and reviews can catch or prevent erroneous unlock sequences in critical sections.
- CWE-766partialprevents — A.8.28 mandates secure coding standards (including access-modifier rules), code review, and developer qualification, which address declaring critical fields public; but the mechanism is human practice that is fallible, so only a minority of instances are prevented, consistent with the clause's declared ceiling of `partial` on this verb.
- CWE-767partialprevents — Secure coding standards explicitly forbid exposing private variables through public methods.
- CWE-768partialprevents — Secure-coding standards directly forbid short-circuit side effects and require explicit evaluation order.
- CWE-77partialprevents — Secure coding standards require proper escaping and parameterization of commands, directly eliminating CWE-77.
- CWE-770partialprevents — A.8.28 mandates secure coding practices — threat modelling, coding standards, peer review, knowledge of common defects — that can catch missing resource limits before code ships, but it is a fallible human practice whose coverage depends on implementer rigour, leaving a nameable remainder that A.8.29 testing reaches more reliably.
- CWE-771partialprevents — Secure coding standards can require proper reference maintenance for allocated resources.
- CWE-772partialprevents — Secure-coding rules can mandate explicit resource-release patterns, but the control is broader than this single weakness.
- CWE-773partialprevents — A.8.28 mandates secure coding practices including common/historical defects and structured programming, which would cover resource management principles, but it is a practice-based control whose effect depends on developer skill and is fallible, consistent with the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors at the same rung.
- CWE-774partialprevents — Secure coding standards explicitly require limits on file-handle allocation.
- CWE-775partialprevents — Secure-coding standards can mandate explicit close/release of handles, directly mitigating CWE-775.
- CWE-776partialprevents — Secure coding standards directly require disabling or restricting recursive entity references in XML parsers.
- CWE-777partialprevents — Secure coding explicitly requires anchored regex to prevent bypass of input validation.
- CWE-78partialprevents — A.8.28 mandates secure coding practices (input validation, avoiding dangerous functions like system()/exec(), peer review, SAST during development) that prevent some OS command injection instances, but it is a practice-based control whose effect depends on developer skill and implementation rigor, leaving a fallible remainder that A.8.29 testing reaches more completely.
- CWE-780partialprevents — Requires secure coding practices that would prevent missing OAEP padding.
- CWE-781partialprevents — A.8.28's secure coding principles, peer review, SAST, and developer qualification can catch METHOD_NEITHER address validation issues where the organization's standards and training specifically cover driver/kernel IOCTL development, but the clause is general governance whose effect depends on the rigour of implementation and on whether driver code is in scope at all.
- CWE-782partialprevents — Secure coding practices prevent omission of access-control checks on IOCTL handlers.
- CWE-783partialprevents — Secure coding standards and guidelines directly address operator precedence mistakes.
- CWE-784partialprevents — Secure coding practices require integrity checks on security-critical cookies used for decisions.
- CWE-785partialprevents — A.8.28 mandates secure coding standards, peer review, SAST processes and analysis of common programming errors, which would catch a slice of CWE-785 instances (e.g., PathAppend called with an undersized buffer) where the practice is applied with rigour; the remainder is the fallibility of human practice and the dependence on what the implementer chose to enforce, which is the same ceiling the owner set for A.8.28 on this verb.
- CWE-786partialprevents — Secure coding standards directly require bounds checking and pointer validation that prevent this weakness.
- CWE-787partialprevents — Secure coding directly addresses out-of-bounds writes through language choice and coding standards.
- CWE-788partialprevents — Secure coding standards directly forbid writing or reading past buffer ends.
- CWE-789partialprevents — Secure coding standards directly prohibit allocating memory from untrusted size values without validation.
- CWE-79partialprevents — Secure-coding standards, SAST scans and removal of insecure code samples together eliminate the failure to neutralize script content that produces cross-site scripting flaws.
- CWE-790partialprevents — Secure coding standards require proper filtering and encoding of special elements before downstream processing.
- CWE-791partialprevents — Secure coding standards mandate complete filtering and escaping of special elements, directly eliminating CWE-791.
- CWE-792partialprevents — Secure coding standards require complete sanitization of special elements before downstream processing.
- CWE-793partialprevents — A.8.28's secure coding principles, peer review, and developer qualification reduce the incidence of incomplete-filtering defects like CWE-793, but the practice is fallible and the strongest control for catching such implementation bugs is A.8.29 security testing, matching the A.8.28 -> CWE-502 and A.8.28 -> CWE-79 anchors.
- CWE-794partialprevents — Secure coding standards require complete sanitization of all instances of special elements before downstream processing.
- CWE-795partialprevents — Secure coding practices (peer review, code review, threat modelling, secure coding standards) catch some instances of a filter that only checks one location, but the defect is subtle and the clause mandates a practice whose coverage depends on the rigour of implementation; the strongest control for finding these defects is A.8.29 security testing, leaving A.8.28 at the same `partial` ceiling the owner set for it on CWE-502 and CWE-79.
- CWE-796partialprevents — A.8.28 mandates secure coding practices (input validation standards, prohibited insecure techniques, language-specific guidance) that, well implemented, would catch position-relative filtering defects like CWE-796, but the control's mechanism is human practice and is fallible — the same ceiling the owner set for A.8.28 vs CWE-502 and CWE-79.
- CWE-797partialprevents — A.8.28's secure-coding baseline, coding standards, peer review and SAST can keep developers from writing absolute-position filtering logic at all, but the effect rests on fallible human practice applied by an organisation rather than a mechanism, so it reaches only a minority of instances.
- CWE-798partialprevents — Explicit prohibition of hard-coded passwords and unauthenticated external services stops credentials from being embedded directly in source code.
- CWE-799partialprevents — Secure coding practices can embed input-frequency and throttling checks in code.
- CWE-8partialprevents — A.8.28 mandates secure coding principles, attack-surface analysis, and prohibition of insecure design techniques, which a well-implemented programme would extend to J2EE patterns including remote entity beans; but the clause sets a practice rather than a mechanism, so coverage depends on whether the organisation's standards specifically address this niche framework pattern and on developer adherence, leaving a nameable remainder.
- CWE-80partialprevents — Secure coding standards require proper escaping of <, >, & to block XSS.
- CWE-804partialprevents — Secure coding practices ensure CAPTCHA logic is resistant to automated recognition or guessing attacks.
- CWE-805partialprevents — Secure coding explicitly requires correct buffer-length handling, eliminating CWE-805 when followed.
- CWE-806partialprevents — A.8.28 mandates secure coding standards, peer review, and analysis of common programming errors — buffer overflows from wrong sizeof usage are exactly the kind of defect secure coding practice addresses — but it is a practice clause whose effect depends on developer rigour, and the strongest mechanism (SAST, testing) sits in A.8.29, leaving a nameable remainder of fallible practice.
- CWE-807partialprevents — Secure coding standards directly prohibit using untrusted inputs for security-critical decisions.
- CWE-81partialprevents — Secure coding standards require output encoding and error-message sanitization, directly eliminating CWE-81.
- CWE-82partialprevents — Secure coding standards directly require proper neutralization of script in HTML attributes, addressing the root cause of CWE-82.
- CWE-820partialprevents — Secure coding standards directly require synchronization primitives to prevent race conditions.
- CWE-821partialprevents — Secure coding standards directly require correct synchronization primitives and thread-safety.
- CWE-822partialprevents — Secure coding standards explicitly forbid dereferencing pointers derived from untrusted input.
- CWE-823partialprevents — Secure coding standards directly forbid unsafe pointer arithmetic and require bounds checks.
- CWE-824partialprevents — Secure coding standards directly prohibit use of uninitialized pointers.
- CWE-825partialprevents — Secure coding standards directly address pointer lifetime and deallocation discipline, substantially mitigating expired-pointer dereference.
- CWE-826partialprevents — Secure coding standards directly prohibit premature resource release, covering most of the weakness.
- CWE-827partialprevents — Secure coding standards explicitly forbid unsafe XML parsers and mandate disabling external entities.
- CWE-828partialprevents — Secure coding standards directly address asynchronous-safety and reentrancy requirements in signal handlers.
- CWE-829partialprevents — A.8.28 has direct guidance on external libraries and components (inventory, well-vetted selection, security/history review, reputable sources) that addresses CWE-829, but it is a practice-based control whose coverage depends on implementation rigor, and nameable remainders persist: web widgets included at runtime, dynamically loaded code, and components that become untrusted after vetting.
- CWE-83partialprevents — Secure coding standards require proper escaping of untrusted data in HTML attributes, directly eliminating CWE-83.
- CWE-830partialprevents — Secure coding practices can avoid unsafe inclusion of external scripts, but coverage depends on developer adherence.
- CWE-831partialprevents — A.8.28's secure coding standards, language-specific practices, peer review, and SAST can prevent some instances of multi-signal handler registration, but the clause mandates a practice rather than a mechanism and developers remain fallible, matching the established A.8.28 rung for implementation-phase weaknesses.
- CWE-832partialprevents — Secure coding standards can explicitly forbid unlocking resources that were never locked.
- CWE-833partialprevents — Secure coding standards mandate safe lock ordering, timeouts, and deadlock detection patterns.
- CWE-834partialprevents — Secure coding standards explicitly forbid unbounded loops and require explicit iteration limits.
- CWE-835partialprevents — Secure coding standards directly address loop termination and prevent infinite loops.
- CWE-836partialprevents — Secure coding guidance can prevent this implementation error but does not address the control's broader intent.
- CWE-837partialprevents — Secure-coding standards can mandate checks that prevent repeated actions, but the control covers many coding issues.
- CWE-838partialprevents — Secure coding directly addresses proper output encoding for context, covering most of the weakness and the control's intent.
- CWE-839partialprevents — Secure coding standards explicitly forbid numeric comparisons that omit the lower bound, directly mitigating CWE-839.
- CWE-84partialprevents — Secure coding standards mandate proper neutralization of encoded URI schemes, eliminating the root cause of CWE-84.
- CWE-841partialprevents — Secure coding practices can prevent missing workflow checks but do not define the control itself.
- CWE-842partialremoves — A.8.28's owner-ruled removal mechanisms (reuse review and post-deployment code adjusted from reviewed logs) reach CWE-842 only narrowly: a minority of incorrect-group-assignment defects surface in operational logs or in reused code review, while the bulk are introduced at implementation and would be `prevents` rather than `removes`.
- CWE-842partialprevents — Secure coding principles (threat modelling, secure design, common-defects guidance) can catch some group-assignment logic flaws written into code, but CWE-842 also arises from administrative actions, default configurations, and configuration-processing errors that the clause's coding-focused mechanism does not reach.
- CWE-843partialprevents — Secure coding standards directly forbid unsafe type casts and require static-analysis checks for type confusion.
- CWE-85partialprevents — Secure coding practices directly require proper sanitization of user input, covering most of this XSS variant.
- CWE-86partialprevents — Secure coding standards require proper neutralization of invalid characters in tag names, URIs and identifiers, directly addressing CWE-86.
- CWE-87partialprevents — Secure coding standards require proper neutralization of alternate script syntax, directly eliminating CWE-87.
- CWE-88partialprevents — Secure coding standards explicitly require proper neutralization of command arguments, directly eliminating CWE-88.
- CWE-89partialprevents — Language-specific secure coding rules, peer review and SAST together prevent the construction of SQL statements from untrusted data without proper parameterization or escaping.
- CWE-9partialprevents — A.8.28's secure coding standards, prohibition of insecure design techniques, and code review practices would catch EJB deployment descriptors granting ANYONE permissions in a well-implemented program, but the clause mandates a practice whose coverage depends on the rigour of the standards and review — a minority of instances, with the remainder in organizations whose secure coding baselines do not specifically address EJB deployment descriptors.
- CWE-90partialprevents — Secure coding standards require proper neutralization of LDAP special characters, directly eliminating this weakness.
- CWE-908partialprevents — Secure coding standards directly require explicit initialization of all variables and resources, substantially mitigating CWE-908.
- CWE-909partialprevents — Secure coding standards explicitly require initialization of variables and resources.
- CWE-91partialprevents — Secure coding standards require proper neutralization of XML metacharacters, directly eliminating CWE-91.
- CWE-910partialprevents — Secure-coding standards can explicitly forbid use of expired file descriptors.
- CWE-911partialprevents — Secure coding standards directly prescribe correct increment/decrement patterns, covering most instances of this weakness.
- CWE-912partialprevents — Secure coding standards reduce the likelihood of introducing hidden code but do not address its detection or removal.
- CWE-913partialprevents — Secure coding standards directly prohibit unsafe dynamic code resource handling and injection patterns.
- CWE-914partialprevents — Secure coding standards directly prohibit uncontrolled dynamic variable access.
- CWE-915partialprevents — Secure coding standards explicitly forbid unsafe dynamic attribute assignment and require property allow-lists.
- CWE-916partialprevents — Secure coding practices include implementing password storage with adequate computational effort.
- CWE-917partialprevents — Secure coding standards require proper escaping and parameterization of expression-language statements.
- CWE-918partialprevents — A.8.28 mandates secure coding principles that include URL/destination validation and allowlisting practices which, where followed, prevent SSRF from being introduced; but the clause is a practice-based control whose effect depends on developer implementation rigor, so it catches only a minority of instances — the same reading that graded A.8.28 -> CWE-502 and A.8.28 -> CWE-79 at `partial`, and the clause's declared ceiling on this verb.
- CWE-921partialprevents — A.8.28's planning prerequisites include 'secure design and architecture, including threat modelling' (item g), which can surface storage-mechanism access-control omissions during architecture and design, but the control mandates a practice rather than a mechanism, the storage-mechanism choice is one of many items threat modelling may or may not reach, and the weakness is an architecture-phase omission that the coding-practice focus of A.8.28 only partially covers.
- CWE-923partialprevents — Secure coding practices can implement endpoint checks but the control itself is process-oriented.
- CWE-924partialprevents — A.8.28 mandates secure coding principles, threat modelling, secure design and architecture, and prohibits unauthenticated web services — guidance that, well implemented, would catch many instances of missing message integrity at the design and coding stage. But it is a practice control (fallible developers, fallible standards), it does not mandate the specific cryptographic mechanisms for message integrity (that is A.8.24), and third-party components arrive with their integrity choices already made, leaving a nameable remainder.
- CWE-925partialprevents — Secure coding practices directly address proper intent verification in broadcast receivers.
- CWE-926partialprevents — Secure-coding standards require explicit permission declarations and intent-filter restrictions to avoid improper exports.
- CWE-927partialprevents — Secure coding standards explicitly forbid implicit intents when handling sensitive information.
- CWE-93partialprevents — Secure coding standards explicitly require neutralization of CRLF sequences, fully addressing this weakness.
- CWE-939partialprevents — Mandates secure coding practices that include proper authorization checks before executing actions triggered by custom URL schemes.
- CWE-94partialprevents — Banning unapproved code samples and unauthenticated web services, combined with secure-coding standards and SAST, prevents the dynamic generation or inclusion of attacker-supplied code.
- CWE-940partialprevents — Secure coding practices can prevent improper source verification if explicitly required.
- CWE-941partialprevents — Secure coding guidelines can require destination checks, but enforcement is not guaranteed.
- CWE-942partialprevents — Secure coding practices require proper configuration of CSP and cross-domain policies to avoid untrusted domains.
- CWE-943partialprevents — Secure coding standards require proper neutralization of special elements in all data queries.
- CWE-95partialprevents — Secure coding explicitly requires neutralization of input before dynamic evaluation, directly mitigating eval injection.
- CWE-96partialprevents — Secure coding explicitly requires proper neutralization of directives in templates, libraries and configuration files.
- CWE-97partialprevents — Secure coding standards explicitly require escaping or disabling SSI constructs in dynamic web content.
- CWE-98partialprevents — Secure coding standards directly require whitelisting and sanitization of filenames used in include/require statements.
- CWE-99partialprevents — Secure coding standards require strict validation and whitelisting of all resource identifiers before use.
Mitigated MITRE ATT&CK techniques (2443)
Adversary techniques (MITRE ATT&CK Enterprise) this ISO control helps mitigate; links open attack.mitre.org. Our analysis (mostly llm_verified).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Why these map — rationale
- T1068mostlyprevents — Threat modelling and secure design practices limit the introduction of privilege-escalation bugs that adversaries would otherwise chain after an initial foothold.
- T1190mostlyprevents — Secure coding standards, threat modelling, and static analysis directly reduce the number of exploitable flaws in public-facing applications that adversaries rely on for initial compromise.
- T1204.005mostlyprevents — A.8.28's external-libraries provisions (inventory, authorization, vetting, reputable sources, security history) directly target malicious-library installation, but cannot prevent backdooring of already-vetted popular libraries or typosquatting that fools developers, and the prevention is process-based and depends on developer compliance.
- T1499.004mostlyprevents — Secure coding principles, SAST, code review, threat modelling and vetted components address the bulk of exploitable vulnerabilities that cause application/system crashes, but the technique explicitly includes zero-day exploitation and complex logic flaws that no secure-coding regime can eliminate.
- T1003.007partialprevents — Secure coding reduces what credentials are recoverable from process memory (no hard-coded secrets, secure memory handling, avoiding cleartext storage) so the technique finds less, but it does not prevent the technique from running against /proc/<PID>/mem on a compromised host, and any credentials legitimately held in process memory remain extractable.
- T1027.017partialprevents — Secure coding practices can reduce susceptibility to SVG smuggling through threat modelling, input validation, attack-surface reduction, and CSP/sanitisation decisions, but A.8.28 governs the development process rather than the runtime defences (content filtering, mail security, browser handling) that the technique actually targets, so the prevention is indirect and bounded.
- T1036.008partialprevents — Secure coding principles include proper input validation and file-type checking by content (magic bytes) rather than extension, which can prevent masqueraded payloads from bypassing application validation; however, the technique can still be created and used against systems not developed under these principles, against users directly, or to bypass detection tooling, so the prevention is a slice rather than the bulk.
- T1056.003partialprevents — A.8.28 reduces the number of vulnerabilities in software the organization writes, but T1056.003 is installed post-compromise using legitimate administrative access on an already-deployed portal, so secure coding practices during development do not prevent an adversary with valid credentials from modifying a live login page.
- T1078.001partialprevents — A.8.28 governs how code is written, not how accounts on systems, appliances, or cloud platforms are configured; default accounts (OS, ESXi, AWS root, Kubernetes, vendor appliances) are addressed by configuration management (A.8.9), and secure coding's prohibition on hard-coded credentials targets a different artifact than the built-in accounts this technique abuses.
- T1080partialprevents — A.8.28 mandates secure coding standards, SAST, and attack-surface analysis that reduce the introduction of taintable flaws, but shared content is tainted by writing to a location the control does not govern, so the technique is constrained at the code level and not blocked at the distribution level.
- T1110.002partialprevents — Secure coding can mandate strong password hashing algorithms, salting, and appropriate work factors, which directly prevent the conditions that make password cracking succeed; however, it cannot prevent the technique from being attempted, cannot guarantee users will choose strong passwords, and its coverage is bounded by what the organization actually develops versus third-party and legacy components.
- T1176.002partialprevents — A.8.28's provisions on managing external components, selecting well-vetted components from reputable sources, and configuring development tools (IDEs) provide some preventive coverage against malicious extensions, but the control's primary focus is secure code creation rather than development-environment security, and it does not specifically address extension marketplace vetting, side-loading prevention, or allowlisting — so the technique can still execute through benign extensions abused for tunneling or through extensions that pass general provenance checks.
- T1185partialprevents — A.8.28's secure coding practices (proper session management, HttpOnly/Secure cookie flags, input validation against XSS, secure authentication token handling) reduce some web-application vectors for session hijacking, but the technique's core mechanisms — exploiting browser software vulnerabilities, malicious browser extensions, and adversary-driven browser pivoting through C2 frameworks — lie outside what secure coding of the organization's own applications can prevent.
- T1195partialprevents — A.8.28 explicitly extends secure coding governance to third-party and open-source components, requiring inventory, vetting, provenance checks, and source-code tamper protection — all of which constrain supply-chain compromise at the organization's intake boundary — but it cannot prevent upstream manipulation of vendor build pipelines, distribution channels, factory images, or open-source projects themselves, so the technique remains reachable through paths the clause does not reach.
- T1195.001partialprevents — A.8.28's external-library controls (inventory, vetting, source verification, security-history review, reputable-source requirements) directly address the selection-stage mechanism of dependency compromise, but cannot prevent post-vetting compromise of legitimate packages, sophisticated typosquatting, CI/CD pipeline attacks, or development-tool compromise that the technique also covers.
- T1195.002partialprevents — A.8.28 includes specific supply-chain-relevant guidance (inventorying and vetting external libraries, verifying provenance and history of components, protecting source code from tampering, secure packaging and deployment of updates), which constrains the attack surface for T1195.002, but the technique's core mechanism is upstream compromise at the vendor or distribution channel that the consumer's secure-coding process cannot fully prevent.
- T1203partialprevents — By enforcing vetted libraries, least-privilege design, and removal of insecure constructs such as hard-coded credentials, the control shrinks the attack surface that client-side exploits target.
- T1210partialprevents — Secure coding directly prevents exploitation of vulnerabilities in code the organization develops, but T1210 commonly targets third-party services (SMB, RDP, MySQL, VMware vCenter) and OS-level software where A.8.28's reach is limited to vetting, inventory and update management of components rather than the secure coding practices themselves.
- T1211partialprevents — Secure coding reduces vulnerabilities in code the organization develops and in third-party/open-source components it manages, which prevents exploitation of those flaws for stealth; however, T1211 specifically targets vulnerabilities in logging pipelines, security tools, cloud infrastructure, and SaaS platforms that are largely outside the developer's control, leaving a substantial remainder the control cannot reach.
- T1212partialprevents — A.8.28 mandates secure coding practices that reduce the introduction of software vulnerabilities, which are the root cause exploited by T1212, but it cannot eliminate all coding errors or address vulnerabilities in third-party components that are already deployed.
- T1213.003partialprevents — A.8.28 prohibits hard-coded credentials and unauthenticated services in source code, directly preventing the credential-collection aspect of T1213.003, and its source-code protection guidance (access control, version control) constrains what an adversary can read from a repository; however, the technique's core is an adversary who has already gained access to the repository and collects proprietary source code and other artifacts, which A.8.28 does not prevent.
- T1499partialprevents — Secure coding prevents the subset of endpoint DoS that exploits code vulnerabilities to crash systems (T1499.004-style exploitation of buffer overflows, deserialization flaws, unhandled exceptions), but does not prevent flooding-based variants (T1499.001–.003) that exhaust resources through legitimate-looking requests or overwhelm capacity regardless of code quality.
- T1499.003partialprevents — Secure coding can prevent some application exhaustion by building resource limits, rate limiting, input validation and proper error handling into the code, and by threat-modelling resource-intensive features during design, but the technique exploits legitimate functionality and runtime/infrastructure protections (WAF, CDN, network rate limiting) carry the bulk of prevention, so secure coding addresses a slice rather than the whole class.
- T1505partialprevents — A.8.28's threat modelling, secure design, and least-privilege-in-design requirements can identify and constrain the extensibility surface that T1505 abuses, and its vetting of external components touches the supply side; but the control's primary mechanism is reducing coding vulnerabilities in software being written, not governing which extensions may be installed on already-deployed server applications, so the prevention is indirect and bounded.
- T1505.003partialprevents — Secure coding governance and source-code protection controls make it harder for attackers to plant or maintain web shells in production code.
- T1528partialprevents — A.8.28 reduces the number of vulnerabilities in software the organization writes, but T1528 steals a token that already exists and is valid, and no secure coding practice prevents a running process or a user from having its token taken by an adversary who has already compromised the environment.
- T1539partialprevents — Secure coding can implement HttpOnly, Secure, and SameSite cookie attributes and short session lifetimes, which prevent XSS-based and some network-based cookie theft, but cannot prevent disk-resident cookie theft by malware, in-memory scraping, or AitM proxy capture (e.g., Evilginx2) where the cookie is intercepted before reaching the server.
- T1548.001partialprevents — A.8.28's secure design principles, least-privilege evaluation, and SAST can reduce the introduction of unnecessary setuid/setgid binaries, but the control cannot eliminate the legitimate need for some elevated binaries or prevent an adversary from abusing those that remain.
- T1552partialprevents — A.8.28 explicitly prohibits hard-coded passwords and insecure design techniques, and mandates secure coding standards, threat modelling and SAST — which prevents the subset of T1552 where credentials are embedded or stored insecurely in code; the remainder is the broader technique (shell history, registry, private keys in files, OS/application credential stores) that secure coding does not reach.
- T1552.001partialprevents — A.8.28 explicitly prohibits hard-coded passwords and insecure design techniques, and mandates secure coding standards, which prevents the slice of T1552.001 involving credentials embedded in source code or binaries; however, the technique's broader scope — user-created credential files, shared credential stores, configuration files with passwords set outside development, cloud/container credential files, Group Policy Preferences, and backups — is not addressed by a development-time control.
- T1552.002partialprevents — Secure coding principles (especially prohibiting insecure design techniques like hard-coded credentials) prevent new code from storing credentials insecurely in the registry, so the technique runs but finds nothing in well-built software; the remainder is nameable — existing software already deployed with this flaw, third-party components, and legacy code that secure coding governance does not retroactively fix.
- T1552.005partialprevents — Secure coding prevents the SSRF vector of T1552.005 (the Capital One-style path) through input validation, URL allowlisting, IMDSv2 enforcement and similar practices, but does not prevent direct metadata API queries from an already-compromised instance, leaving one of the technique's two main execution paths unaddressed.
- T1559partialprevents — Mandating secure coding techniques and peer review reduces the likelihood of insecure inter-process communication paths that could be abused for execution.
- T1559.002partialprevents — Secure coding can prevent insecure DDE usage in custom-developed applications and guide developers of document-handling software to disable DDE processing, but the primary T1559.002 vectors — weaponized Office documents, malicious CSV files, and post-compromise DDE invocation on third-party platforms — sit outside what A.8.28's governance of in-house and outsourced code can reach.
- T1559.003partialprevents — Secure coding practices like input sanitization, prohibiting insecure design techniques, and SAST can prevent the improper validation and poor sanitization that XPC Services exploitation relies on, but the control is a process requirement rather than a universal mechanism, so vulnerabilities may still be introduced.
- T1565partialprevents — A.8.28 governs how code is written and maintained before deployment, but T1565 describes an adversary manipulating data inside an already-operational application, which is a runtime integrity violation that secure coding practices do not prevent.
- T1565.002partialprevents — Secure coding addresses application-level data manipulation through input validation, integrity checks, and secure design (threat modelling, secure coding standards), but cannot prevent network-layer interception/manipulation outside the application's control, and the clause is general-purpose rather than specifically mandating in-transit integrity protection.
- T1574partialprevents — Secure coding practices (absolute paths, signed/validated library loading, avoiding relative-path dependencies, SAST and peer review catching unsafe dynamic-linking patterns) prevent the code-level instances of T1574, but cannot prevent the environmental/system-level hijacking mechanisms such as Registry poisoning, PATH directory injection, or DLL search-order manipulation that the code itself does not control.
- T1574.001partialprevents — Secure coding principles can prevent DLL hijacking vulnerabilities in code the organization writes (e.g., using absolute paths, signature verification, avoiding current-directory loads), but A.8.28 is a general governance control that does not specifically mandate DLL-loading safety, and the technique is heavily exercised against third-party and pre-existing software that the control does not reach.
- T1574.004partialprevents — A.8.28 mandates secure coding standards, threat modelling, and SAST which can prevent the introduction of search-path hijacking vulnerabilities during development, but it cannot guarantee that every third-party or legacy library loaded at runtime is free of the flaw.
- T1574.005partialprevents — Secure coding directly addresses the root defect — improper permission setting in installer code — through threat modelling, coding standards, SAST and review, so in-house installers built under A.8.28 will not exhibit the weakness; however, the technique is most commonly observed in third-party installers (Mozilla, other common vendors cited in the technique), and A.8.28's reach into third-party code is limited to managing and vetting components rather than preventing defects in their installers, leaving a substantial remainder.
- T1574.007partialprevents — Secure coding principles can include guidance to use absolute paths rather than relying on PATH resolution, and threat modelling/code review can surface scripts that depend on PATH ordering, but A.8.28 addresses the code being written rather than the OS-level PATH configuration the technique exploits, leaving the runtime vector largely intact.
- T1574.008partialprevents — Secure coding standards mandating full paths when calling executables, code review, and SAST can prevent this technique in newly developed in-house code, but the control cannot reach third-party software, legacy binaries, or OS-level search-order behavior that the technique exploits.
- T1574.009partialprevents — Secure coding principles (mandating quoted paths, peer review, SAST, threat modelling) can prevent the introduction of unquoted-path defects in code the organisation develops, but the technique is also exploitable in third-party software, legacy code, and service/shortcut paths configured outside the codebase (registry, Group Policy), which A.8.28 does not reach.
- T1574.011partialprevents — A.8.28 mandates secure design, least privilege evaluation, and SAST, which can prevent the weak Registry permissions that T1574.011 exploits, but the control is a process requirement applied during development and cannot guarantee that every deployed service is configured with correct ACLs in production.
- T1589.001partialprevents — A.8.28 prevents a slice of T1589.001 by prohibiting hard-coded credentials, protecting source code from unauthorized access, and managing third-party components — addressing the code-repository and source-leak vectors explicitly named in the technique — but does not reach phishing for information, dark-web purchases, infostealer logs, or breach-dump harvesting, which constitute the bulk of the technique's mechanisms.
- T1606partialprevents — Secure coding prevents some vectors for T1606 — prohibiting hard-coded credentials, mandating well-vetted authentication and cryptographic components, and requiring secure design reduce the secrets and weak implementations an adversary can leverage to forge tokens — but the technique is largely adversary-side (generating credentials via obtained secrets or abusing legitimate APIs like AWS AssumeRole), so the clause addresses a slice of the attack surface rather than the bulk.
- T1606.001partialprevents — Secure coding can prevent cookie forgery through proper cryptographic signing of session tokens, use of well-vetted authentication components, threat modeling that considers this attack, and secure session management — but the technique fundamentally requires the adversary to have obtained secret values (keys, seeds) through separate means, and once those secrets are compromised, well-coded applications can still be bypassed, leaving a named remainder.
- T1608.004partialprevents — T1608.004 is the adversary staging malicious web content on infrastructure they control or have compromised; A.8.28 governs the organization's own software development practices and has no mechanism that reaches adversary-controlled staging infrastructure.
- T1649partialprevents — Secure coding addresses a slice of T1649 by preventing application-level certificate handling defects (e.g., hard-coded certificates, insecure storage of credential material in code, improper certificate validation), but the bulk of the technique — AD CS misconfigurations, theft from OS certificate stores, and CA private key compromise — is infrastructure-level and outside the clause's scope.
- T1677partialdetects — A.8.28's source code protection (version control, access control), logging of suspected attacks, and code review processes can detect unauthorized modifications to CI configuration files or injected malicious code in referenced files, but the control's primary mechanism is preventive (secure coding governance) and its detection scope is bounded to the development environment rather than the CI/CD pipeline execution phase where the attack manifests.
- T1677partialprevents — A.8.28's elements on controlled development environments, source code protection against unauthorized access and tampering, dependency management, and secure packaging/deployment touch parts of the pipeline attack surface, but the core of T1677 — direct modification of CI configuration files, malicious pull requests from forks exploiting triggers like pull_request_target, and self-hosted runner compromise — sits in CI/CD infrastructure security (access controls, branch protection, secrets management, pipeline trigger hardening) that secure coding governance does not address.
- T1687partialprevents — Secure coding directly addresses the root mechanism of T1687 — exploitable programming errors in defensive software — but its scope is largely limited to in-house development, while the technique's primary targets (AV, EDR, firewalls, cloud/SaaS infrastructure) are typically third-party products outside the organization's coding practices, and even rigorous secure coding does not eliminate all vulnerabilities.
- T1689partialprevents — A.8.28 mandates secure coding standards, threat modelling, and SAST which can prevent the introduction of downgrade-vulnerable logic, but it does not control the runtime environment's backward-compatibility features that the technique exploits.
- T1700partialprevents — Secure coding principles (input validation, output filtering, least privilege on tool connections, threat modeling for AI integrations) can constrain the attack surface for prompt-injection-driven exfiltration, but A.8.28's guidance predates LLM-specific threats and does not address the core mechanism — adversarial instructions embedded in model inputs that cause sanctioned tools to be misused — so the technique remains executable against conformant code.
Prevented OWASP Web Top 10 (2025) risks (11)
OWASP Web Top 10 (2025) risk categories this ISO control helps prevent or mitigate — our analysis (mostly llm_verified).
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial). gov = governs / implements (a mandate, not coverage).
Why these map — rationale
- A01partialblocks — A.8.28 mandates secure coding practices, principles, standards, threat modelling, peer review, SAST and removal of defects that produce authorization failures, which directly prevents the code-level members of A01 (missing checks, IDOR, path traversal, insecure direct references); it does not prevent runtime bypasses such as CSRF or forced browsing that succeed despite correct code.
- A04partialblocks — A.8.28 mandates secure coding practices, principles, standards, threat modelling, SAST and vetting of cryptographic components, which prevents many (but not all) absent/weak/misused cryptography defects from being introduced.
- A06partialblocks — A.8.28 mandates secure design, threat modelling, secure architecture principles, least privilege evaluation and prohibition of insecure design techniques before and during coding, which directly blocks many design-level weaknesses from being baked in; it is only partial because the control is a broad governance-and-practice mandate whose actual coverage still depends on the rigour with which those principles are chosen and enforced, leaving a genuine slice of design flaws unaddressed.
Control IDs, short titles and the structured attribute table (control type, CIA properties, cybersecurity-concept, operational capability, security domain) are facts from ISO/IEC 27001:2022 Annex A / ISO/IEC 27002:2022. The full implementation guidance prose lives in ISO/IEC 27002:2022 — not reproduced here. Cross-walks to NIST 800-53, NIST CSF 2.0, OWASP ASVS, CWE, MITRE ATT&CK and OWASP Web Top 10 are our own analysis (mostly llm_verified), not an ISO, NIST, MITRE or OWASP product — how ours compare.