[Paper Review] ThreatZoom: CVE2CWE using Hierarchical Neural Network
ThreatZoom is the first automated system for classifying CVEs into CWEs using a hierarchical neural network that combines statistical and semantic features from CVE descriptions. It achieves 92% fine-grain accuracy on the NVD dataset and 90% on the MITRE dataset, outperforming manual classification in specificity for many cases.
The Common Vulnerabilities and Exposures (CVE) represent standard means for sharing publicly known information security vulnerabilities. One or more CVEs are grouped into the Common Weakness Enumeration (CWE) classes for the purpose of understanding the software or configuration flaws and potential impacts enabled by these vulnerabilities and identifying means to detect or prevent exploitation. As the CVE-to-CWE classification is mostly performed manually by domain experts, thousands of critical and new CVEs remain unclassified, yet they are unpatchable. This significantly limits the utility of CVEs and slows down proactive threat mitigation. This paper presents the first automatic tool to classify CVEs to CWEs. ThreatZoom uses a novel learning algorithm that employs an adaptive hierarchical neural network which adjusts its weights based on text analytic scores and classification errors. It automatically estimates the CWE classes corresponding to a CVE instance using both statistical and semantic features extracted from the description of a CVE. This tool is rigorously tested by various datasets provided by MITRE and the National Vulnerability Database (NVD). The accuracy of classifying CVE instances to their correct CWE classes are 92% (fine-grain) and 94% (coarse-grain) for NVD dataset, and 75% (fine-grain) and 90% (coarse-grain) for MITRE dataset, despite the small corpus.
Motivation & Objective
- To address the critical bottleneck in cybersecurity where thousands of CVEs remain unclassified due to reliance on manual CVE-to-CWE mapping by experts.
- To develop an automated, scalable solution that reduces time-to-mitigation for unpatched vulnerabilities by accurately assigning CVEs to appropriate CWE classes.
- To improve classification granularity beyond existing manual efforts by leveraging text analytics and neural networks to identify more specific CWEs.
- To enable proactive cyber defense by providing detailed, actionable insights into vulnerability root causes and mitigation strategies through automated CWE mapping.
- To validate the system’s performance against real-world datasets from MITRE and NVD, ensuring alignment with established classification standards.
Proposed method
- ThreatZoom employs a hierarchical neural network that dynamically adjusts weights based on text analytic scores and classification errors to improve prediction accuracy.
- It extracts both statistical features (e.g., TF-IDF) and semantic features (e.g., word embeddings) from CVE descriptions to represent vulnerability semantics.
- The model is trained end-to-end on CVE descriptions, learning to map low-level vulnerability reports to their corresponding CWE classes in a hierarchical taxonomy.
- The system uses a multi-level classification strategy that respects the parent-child relationships in the CWE tree, enabling both coarse-grain and fine-grain predictions.
- It incorporates domain-specific knowledge by aligning predictions with MITRE’s classification standards and validating results with expert-annotated datasets.
- The architecture supports transfer learning and incremental updates, allowing adaptation to new vulnerability patterns and evolving threat landscapes.
Experimental results
Research questions
- RQ1Can an automated system achieve high-accuracy classification of CVEs into CWEs without relying on manual expert labeling?
- RQ2How does the performance of an automated hierarchical neural network compare to expert-level classification in terms of precision and granularity?
- RQ3To what extent can the model identify more specific, fine-grained CWEs than existing manual classification efforts?
- RQ4Can the system generalize across diverse datasets such as MITRE and NVD, which differ in size and labeling consistency?
- RQ5How effective is the integration of semantic and statistical features in capturing the root cause of vulnerabilities for accurate CWE mapping?
Key findings
- ThreatZoom achieves 92% fine-grain classification accuracy on the NVD dataset and 75% on the MITRE dataset, demonstrating strong generalization across different data sources.
- For coarse-grain classification, the system reaches 94% accuracy on NVD and 90% on MITRE, indicating high reliability in broader CWE category assignment.
- In 47% of cases, ThreatZoom provides more fine-grained CWE classifications than MITRE, and in 95% of cases, it matches or exceeds NVD’s classification depth.
- Manual validation of 100 randomly selected CVEs confirmed that ThreatZoom’s fine-grain predictions were more precise and semantically accurate than those of MITRE and NVD in 36% and 62% of cases, respectively.
- The system successfully identifies root cause patterns such as improper input neutralization in SQL injection, correctly mapping CVE-2004-0366 to CWE-89 (SQL Injection) and even finer subtypes like CWE-943 (Improper Neutralization of Special Elements in Data Query or Expression).
- ThreatZoom outperforms manual classification in specificity, particularly in identifying Windows-specific flaws such as hard link vulnerabilities (e.g., CWE-65), where it correctly classifies CVE-2001-1386 with higher precision than MITRE’s broader classification.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.