Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3379597.3387501acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
short-paper

A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries

Published: 18 September 2020 Publication History

Abstract

We collected a large C/C++ code vulnerability dataset from open-source Github projects, namely Big-Vul. We crawled the public Common Vulnerabilities and Exposures (CVE) database and CVE-related source code repositories. Specifically, we collected the descriptive information of the vulnerabilities from the CVE database, e.g., CVE IDs, CVE severity scores, and CVE summaries. With the CVE information and its related published Github code repository links, we downloaded all of the code repositories and extracted vulnerability related code changes. In total, Big-Vul contains 3,754 code vulnerabilities spanning 91 different vulnerability types. All these code vulnerabilities are extracted from 348 Github projects. All information is stored in the CSV format. We linked the code changes with the CVE descriptive information. Thus, our Big-Vul can be used for various research topics, e.g., detecting and fixing vulnerabilities, analyzing the vulnerability related code changes. Big-Vul is publicly available on Github.

References

[1]
CVE Details. 2020. CVE Details Website. http://https://www.cvedetails.com/.
[2]
Antonios Gkortzis, Dimitris Mitropoulos, and Diomidis Spinellis. 2018. VulinOSS: a dataset of security vulnerabilities in open-source systems. In Proceedings of the 15th International Conference on Mining Software Repositories. 18--21.
[3]
Zhen Li, Deqing Zou, Shouhuai Xu, Xinyu Ou, Hai Jin, Sujuan Wang, Zhijun Deng, and Yuyi Zhong. 2018. Vuldeepecker: A deep learning-based system for vulnerability detection. arXiv preprint arXiv:1801.01681 (2018).
[4]
Serena Elisa Ponta, Henrik Plate, and Antonino Sabetta. 2018. Beyond metadata: Code-centric and usage-based analysis of known vulnerabilities in open-source software. In 2018 IEEE International Conference on Software Maintenance and Evolution (ICSME). IEEE, 449--460.
[5]
Serena Elisa Ponta, Henrik Plate, Antonino Sabetta, Michele Bezzi, and Cédric Dangremont. 2019. A manually-curated dataset of fixes to vulnerabilities of open-source software. In 2019 IEEE/ACM 16th International Conference on Mining Software Repositories (MSR). IEEE, 383--387.
[6]
This Project. [n.d.]. Our C/C++dataset. https://github.com/ZeoVan/MSR_20_Code_Vulnerability_CSV_Dataset.
[7]
Rebecca Russell, Louis Kim, Lei Hamilton, Tomo Lazovich, Jacob Harer, Onur Ozdemir, Paul Ellingwood, and Marc McConley. 2018. Automated vulnerability detection in source code using deep representation learning. In 2018 17th IEEE International Conference on Machine Learning and Applications (ICMLA). IEEE, 757--762.
[8]
Antonino Sabetta and Michele Bezzi. 2018. A practical approach to the automatic classification of security-relevant commits. In 2018 IEEE International Conference on Software Maintenance and Evolution (ICSME). IEEE, 579--582.
[9]
Zack Whittaker. 2020. Microsoft and NSA say a security bug affects millions of Windows 10 computers. https://techcrunch.com/2020/01/14/microsoft-critical-certificates-bug/.
[10]
Fabian Yamaguchi, Nico Golde, Daniel Arp, and Konrad Rieck. 2014. Modeling and discovering vulnerabilities with code property graphs. In 2014 IEEE Symposium on Security and Privacy. IEEE, 590--604.
[11]
Yaqin Zhou, Shangqing Liu, Jingkai Siow, Xiaoning Du, and Yang Liu. 2019. Devign: Effective vulnerability identification by learning comprehensive program semantics via graph neural networks. In Advances in Neural Information Processing Systems. 10197--10207.
[12]
Yaqin Zhou and Asankhaya Sharma. 2017. Automated identification of security issues from commit messages and bug reports. In Proceedings of the 2017 11th Joint Meeting on Foundations of Software Engineering. 914--919.

Cited By

View all
  • (2025)C/C++ Vulnerability Data Set Generation Framework using a Parser and LLM2025 IEEE 4th International Conference on AI in Cybersecurity (ICAIC)10.1109/ICAIC63015.2025.10848559(1-11)Online publication date: 5-Feb-2025
  • (2025)Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and VulnerabilitiesInternet of Things and Cyber-Physical Systems10.1016/j.iotcps.2025.01.001Online publication date: Feb-2025
  • (2025)Vulnerability detection with feature fusion and learnable edge-type embedding graph neural networkInformation and Software Technology10.1016/j.infsof.2025.107686(107686)Online publication date: Feb-2025
  • Show More Cited By

Index Terms

  1. A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    MSR '20: Proceedings of the 17th International Conference on Mining Software Repositories
    June 2020
    675 pages
    ISBN:9781450375177
    DOI:10.1145/3379597
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Sponsors

    In-Cooperation

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 18 September 2020

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. C/C++ Code
    2. Code Changes
    3. Common Vulnerabilities and Exposures

    Qualifiers

    • Short-paper
    • Research
    • Refereed limited

    Conference

    MSR '20
    Sponsor:

    Upcoming Conference

    ICSE 2025

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)1,353
    • Downloads (Last 6 weeks)121
    Reflects downloads up to 10 Feb 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2025)C/C++ Vulnerability Data Set Generation Framework using a Parser and LLM2025 IEEE 4th International Conference on AI in Cybersecurity (ICAIC)10.1109/ICAIC63015.2025.10848559(1-11)Online publication date: 5-Feb-2025
    • (2025)Generative AI in Cybersecurity: A Comprehensive Review of LLM Applications and VulnerabilitiesInternet of Things and Cyber-Physical Systems10.1016/j.iotcps.2025.01.001Online publication date: Feb-2025
    • (2025)Vulnerability detection with feature fusion and learnable edge-type embedding graph neural networkInformation and Software Technology10.1016/j.infsof.2025.107686(107686)Online publication date: Feb-2025
    • (2025)LineJLocRepair: A line-level method for Automated Vulnerability Repair based on joint trainingFuture Generation Computer Systems10.1016/j.future.2024.107671166(107671)Online publication date: May-2025
    • (2025)Towards prompt tuning-based software vulnerability assessment with continual learningComputers & Security10.1016/j.cose.2024.104184150(104184)Online publication date: Mar-2025
    • (2025)Survey of source code vulnerability analysis based on deep learningComputers and Security10.1016/j.cose.2024.104098148:COnline publication date: 1-Jan-2025
    • (2025)How secure is AI-generated code: a large-scale comparison of large language modelsEmpirical Software Engineering10.1007/s10664-024-10590-130:2Online publication date: 1-Mar-2025
    • (2025)Vulnerability detection with graph enhancement and global dependency representation learningAutomated Software Engineering10.1007/s10515-024-00484-332:1Online publication date: 5-Jan-2025
    • (2025)Large language models based vulnerability detection: How does it enhance performance?International Journal of Information Security10.1007/s10207-025-00983-824:1Online publication date: 24-Jan-2025
    • (2025)Enhanced Graph Neural Networks for Vulnerability Detection in Java via Advanced Subgraph ConstructionTesting Software and Systems10.1007/978-3-031-80889-0_9(131-148)Online publication date: 25-Jan-2025
    • Show More Cited By

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media