Vulnerability Patch Prediction using LLM based Bert Model with Trustworthy AI Practice for Cyber Security Enhancement
Abstract. The regular update of the security vulnerabilities is crucial for an organization to mitigate the possibilities of their potential exploitation that can pose for cyber-attacks. Despite their importance, timely updates are not always guaranteed, and many vulnerabilities remain unpatched for extended period of time which increases any security risk to the organizations. Organizations generally update patches manually, which introduces delays towards mitigation of potential exploitation and requires huge effort and resources. In this context, we propose a novel approach that uses Large Language Model (LLM)-based CodeBERT model to predict the availability of an update or a patch relevant for the vulnerabilities. The approach adopts key trustworthy AI characteristics, including biasness and explainability, to operationalize trustworthy AI practice for the LLM-based CodeBERT model. The work has been evaluated on a real-world use case scenario from Athens International Airport to demonstrate the applicability of the approach through a test environment that emulates the airport's critical operating systems. Assets from key systems such as flight information display and access control have been considered in airports and associated with vulnerabilities. The results from the study show that the update is predicated for the key vulnerabilities such as CVE-2017-8464 and CVE-2020-1472 which link with Windows 7-based access control system and Oracle-based AODB database server of the use case scenario, respectively. Also, model explainability is improved by the feature importance using SHAP and correlation using Heatmap technique. The key features for the model decision making are exploitability_score, epss, and attack_complexity. Trustworthy AI practice is also operationalized through bias mitigating techniques such as class balancing and equalized odds to ensure fair and balanced training of the model. Keywords: CodeBERT, Trustworthy AI, Explainable AI, Cybersecurity, Bias, Large Language Model, Vulnerability, Patch, Asset
Institutions
- University of Essex (GB)
- University of Piraeus (GR)
- Athens International Airport (GR)
- Ospedale Maggiore (IT)
- Anglia Ruskin University (GB)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2025-04-06
- DOI
- https://doi.org/10.5281/zenodo.15163669
- Primary Topic
- Information and Cyber Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00