Introduction
The Common Vulnerability Scoring System (CVSS) is the industry standard for assessing the severity of software vulnerabilities. However, it often fails to capture the real-world risk associated with specific exploits. A prominent example is the Heartbleed bug (CVE-2014-0160), which received a "Medium" CVSS score of 5.0 despite its catastrophic global impact. This discrepancy arises because CVSS relies on rigid, predefined properties that may overlook the broader semantic context of a vulnerability. This paper proposes a novel text mining approach that leverages natural language processing (NLP) to rank vulnerabilities based on the commonality and exploitability of their characteristics.
Methodology: The NLP Pipeline
The authors reframe vulnerability prioritization as a graph-based ranking problem, similar to how search engines rank web pages. The proposed pipeline consists of three distinct phases:
- Corpus Building: Short descriptions of Common Vulnerabilities and Exposures (CVEs) are extracted from the National Vulnerability Database (NVD). These descriptions undergo standard NLP preprocessing, including sentence boundary detection, part-of-speech (PoS) tagging, lemmatization, and stop-word removal, resulting in a "bag-of-words" representation for each CVE.
- Graph Building: An undirected graph is constructed where each node represents a CVE. Edges are established between CVEs based on their textual similarity, calculated using the Jaccard index. This index measures the overlap of unique keywords between two descriptions.
- Vulnerability Ranking: The system applies the TextRank algorithm—an unsupervised, graph-based model inspired by Google's PageRank. Since CVEs lack explicit links, TextRank uses the Jaccard similarity weights to distribute "importance scores." CVEs that share significant vocabulary with many others accumulate higher scores, indicating they represent more common and thus potentially more severe threat patterns.
Dataset and Evaluation
The study utilized a custom corpus of 100 randomly selected CVEs from 2014, sourced from the NVD. Each entry includes a unique ID and a concise description of the vulnerability, which serves as the basis for keyword extraction.
Key Insights: The Power of Commonality
The core hypothesis of this research is that commonality equals severity. If a vulnerability shares characteristics—such as target platform, attack vector, or vulnerability type—with a large number of other vulnerabilities, it indicates a broader and more familiar attack surface. Attackers are more likely to exploit well-known patterns, making these vulnerabilities critical targets for prioritization. By linking CVEs through semantic similarity, the graph naturally elevates issues affecting ubiquitous products (e.g., Android, Chrome) or common security flaws (e.g., X.509 certificate bypasses).
Results: Outperforming CVSS
The proposed method successfully ranked the sample CVEs, highlighting widespread, high-impact issues. Notably, the algorithm corrected several perceived imbalances in traditional CVSS scoring:
- CVE-2014-5694 vs. CVE-2014-3169: CVE-2014-5694 (an Android X.509 vulnerability) has a CVSS score of 5.4, while CVE-2014-3169 (a Chrome Use-after-free vulnerability) has a higher score of 7.5. However, the TextRank algorithm ranked the Android vulnerability higher. This is because its keywords—Android, SSL, and X.509—appeared more frequently across the dataset, signaling a more pervasive threat pattern than the specific Chrome exploit.
The top-ranked vulnerabilities consistently featured characteristics like Man-in-the-Middle (MITM) capabilities and Denial of Service (DoS) vectors, which are highly relevant in modern threat landscapes.
Conclusion and Future Directions
While this proof-of-concept demonstrates the potential of NLP in security triage, several limitations remain. The current model relies on short NVD descriptions; future iterations will incorporate richer data from security blogs, Microsoft Security Bulletins, and exploit databases. Additionally, the authors plan to replace the simple Jaccard index with more sophisticated distributional semantics, such as word embeddings, to better capture synonyms and context. Finally, integrating external signals like bug bounty payouts could further refine the similarity metrics, aligning automated rankings with the practical expertise of security professionals.
Summary updated