CWE
Cheat sheet · https://pcornel.dk/topic.php?topic=4822
Answer
Common Weakness Enumeration classifies recurring software and hardware weakness types in architecture, design, code and implementation, supporting root-cause analysis and prevention rather than uniquely identifying individual vulnerability instances.
Remember
- CWE ID ≠ CVE ID or affected product instance.
- Mapped CWE ≠ proven root cause unless evidence supports the abstraction level.
- Finding present ≠ vulnerable asset and applicable condition proven.
- CVSS severity ≠ organization-specific risk or remediation order.
First checks
- CWE ID on findings — weakness type
- CWE Top 25 — common weaknesses
- SAST results by CWE — code issues
Verify in this order
vulnerability → CWE class → root cause fix
Where it usually breaks
First mismatch in asset inventory → applicable baseline/finding → risk/exception decision → remediation → verification → compliance/reporting; preserve identity/policy/pre-state before mutation.
Vulnerability Management → CWE proof map
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope | Authoritative asset, owner, product/version, exposure, assessment source and time | Discovery or name match does not prove vulnerability applicability |
| Finding | Advisory/record, scanner evidence, applicability and uncertainty | CVE, CPE or scanner result alone does not prove exploitable asset state |
| Priority | Threat/exploitation, exposure, attack path, business impact and controls | CVSS severity alone does not equal organizational risk |
| Closure | Effective treatment plus independent retest, workload health and monitored exception state | Patch deployment or ticket closure alone is not verified closure |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4822