Pcornel
Security · Vulnerability Management

CWE

Cheat sheet · https://pcornel.dk/topic.php?topic=4822

Back to the Topic

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

BoundaryEstablishDoes not establish
ScopeAuthoritative asset, owner, product/version, exposure, assessment source and timeDiscovery or name match does not prove vulnerability applicability
FindingAdvisory/record, scanner evidence, applicability and uncertaintyCVE, CPE or scanner result alone does not prove exploitable asset state
PriorityThreat/exploitation, exposure, attack path, business impact and controlsCVSS severity alone does not equal organizational risk
ClosureEffective treatment plus independent retest, workload health and monitored exception statePatch 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

Confirmation

Confirm action

Continue?