CrossVul: a cross-language vulnerability dataset with commit data

Autor: Konstantina Dritsa, Georgios Nikitopoulos, Panos Louridas, Dimitris Mitropoulos
Rok vydání: 2021
Předmět:
Zdroj: ESEC/SIGSOFT FSE
DOI: 10.1145/3468264.3473122
Popis: Examining the characteristics of software vulnerabilities and the code that contains them can lead to the development of more secure software. We present a dataset (∼1.4 GB) containing vulnerable source code files together with the corresponding, patched versions. Contrary to other existing vulnerability datasets, ours includes vulnerable files written in more than 40 programming languages. Each file is associated to (1) a Common Vulnerability Exposures identifier (CVE ID) and (2) the repository it came from. Further, our dataset can be the basis for machine learning applications that identify defects, as we show in specific examples. We also present a supporting dataset that contains commit messages derived from Git commits that serve as security patches. This dataset can be used to train ML models that in turn, can be used to detect security patch commits as we highlight in a specific use case.
Databáze: OpenAIRE