CURRICULUM PREVIEWRevision 1 · Open for reviewReview the full course
CONNECTING THE PIECES8 min read

CVE and CWE

Distinguish a specific vulnerability from a weakness class.

Before you beginremediation-verification

The idea

A CVE identifier names a publicly disclosed vulnerability record. A CWE identifier classifies a kind of software weakness. Use CVE for affected product and version tracking, and CWE to group root causes and improve coding practices. Neither identifier alone proves the service is exploitable.

Follow the flow

Make it concrete

This excerpt isolates the concept. Connect it to the booking API as you work through the exercise.

Focused example
text
Specific vulnerability: CVE record + affected versions
Weakness category: CWE classification
Local assessment: deployed version + configuration + exposure
Outcome: update, mitigation, or owned risk decision

Decisions that matter

  • Choose a control against a concrete risk and document its owner.
  • Exercise negative cases in authorized test fixtures.
  • Retain evidence at a specific revision and revisit it when the system changes.

Your turn

How would you use these identifiers after fixing SQL injection in your own test fixture?

Reveal a worked answer

Classify the root weakness with the appropriate CWE when supported by the analysis. Record affected internal revisions and the regression test. Do not invent a CVE: CVE assignment follows the program’s process.

Keep exploring

One more piece connected.

Mark this lesson complete when you can explain the idea.