Toward Extracting Learning Pattern: A Comparative Study of GPT-4o-mini and BERT Models in Predicting CVSS Base Vectors
Software vulnerabilities represent significant threats to the security of systems and data. Timely mitigation of these vulnerabilities is crucial to prevent exploitation. The Common Vulnerability Scoring System (CVSS) is widely used to quantify the severity of vulnerabilities, but manually assigning CVSS base vectors to newly discovered vulnerabilities is time-consuming and error-prone. This paper investigates the potential of large language models (LLMs) to automate this task. We conducted a comparative study of GPT-4o-mini and BERT models for predicting CVSS base vectors. Both models were trained and evaluated on a dataset of vulnerabilities extracted from the National Vulnerability Database (NVD), using vulnerability descriptions as input. Our results demonstrate that BERT outperforms GPT-4o-mini in terms of prediction accuracy for CVSS base vectors. BERT’s ability to capture contextual information within the vulnerability descriptions enables it to make more accurate predictions. To gain insights into the decision-making process of the GPT-4o-mini model, we performed a keyword analysis. This analysis provides a foundation for further research into the explainability of LLMs in security applications.
Authors
- Kozo Okano
- Shinpei Ogata (ORCID: https://orcid.org/0000-0001-6996-3073)
- Hironori Washizaki (ORCID: https://orcid.org/0000-0002-1417-9879)
- Yutaro Kashiwa (ORCID: https://orcid.org/0000-0002-9633-7577)
- Satoshi Yazawa
- Takao Okubo (ORCID: https://orcid.org/0000-0002-4490-1420)
- Sho Isogai
Institutions
- Shinshu University (JP)
- Waseda University (JP)
- Institute of Information Security (JP)
- Nara Institute of Science and Technology (JP)
Publication Details
- Published
- 2024-10-28
- DOI
- https://doi.org/10.1109/issrew63542.2024.00067
- Citations
- 5
- Primary Topic
- Machine Learning and Data Classification
- Type
- article
- Field-Weighted Citation Impact
- 1.74