Identifying Affected Third-Party Java Libraries from Textual Descriptions of Vulnerabilities and Libraries
Open Access
- 28 April 2025
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 34 (4) , 1-27
Abstract
To address security vulnerabilities arising from third-party libraries, security researchers maintain databases monitoring and curating vulnerability reports. Application developers can identify libraries affected by vulnerability reports (in short, affected libraries) by directly querying the databases with their used libraries. However, the querying results of affected libraries are not reliable due to the incompleteness of vulnerability reports. Thus, current approaches model the task of identifying affected libraries as a named-entity-recognition (NER) task or an extreme multi-label learning (XML) task. These approaches suffer from highly inaccurate results in identifying affected libraries with complex and similar names, e.g., Java libraries. To address these limitations, in this article, we propose VulLibMiner, the first to identify affected libraries from textual descriptions of both vulnerabilities and libraries, together with VulLib, a Java vulnerability dataset with their affected libraries. VulLibMiner consists of a TF-IDF matcher to efficiently screen out a small set of candidate libraries and a BERT-FNN model to effectively identify affected libraries from these candidates. We evaluate VulLibMiner using four state-of-the-art/practice approaches of identifying affected libraries on both their dataset named VeraJava and our VulLib dataset. Our evaluation results show that VulLibMiner can effectively identify affected libraries with an average F1 score of 0.669 while the state-of-the-art/practice approaches achieve only 0.547.Keywords
All Related Versions
This publication has 42 references indexed in Scilit:
- Vulcan: Automatic extraction and analysis of cyber threat intelligence from unstructured textComputers & Security, 2022
- Out of sight, out of mind? How vulnerable dependencies affect open-source projectsEmpirical Software Engineering, 2021
- Feed-Forward Neural Networks2021
- Requirements engineering challenges and practices in large-scale agile system developmentJournal of Systems and Software, 2021
- Managing authentication and authorization in distributed science gateway middlewareFuture Generation Computer Systems, 2020
- Bonsai: diverse and shallow trees for extreme multi-label classificationMachine Learning, 2020
- Training feedforward neural networks using multi-verse optimizer for binary classification problemsApplied Intelligence, 2016
- A Tutorial on the Cross-Entropy MethodAnnals of Operations Research, 2005
- The Probabilistic Basis of Jaccard's Index of SimilaritySystematic Biology, 1996
- Term-weighting approaches in automatic text retrievalInformation Processing & Management, 1988