Git Product home page Git Product logo

msr_20_code_vulnerability_csv_dataset's Introduction

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

1 . Data Description

  • CVE entries in our dataset cover the period from 2002 to 2019, each consisting of 21 features. Each feature's name and corresponding column name in the CSV file are explained in the following table. The dataset is released as comma-separated values(CSV) format (all_c_cpp_release2.0.csv).
Features Column Name in the CSV Description
Access Complexity access_complexity Reflects the complexity of the attack required to exploit the software feature misuse vulnerability
Authentication Required authentication_required If authentication is required to exploit the vulnerability
Availability Impact availability_impact Measures the potential impact to availability of a successfully exploited misuse vulnerability
Commit ID commit_id Commit ID in code repository, indicating a mini-version
Commit Message commit_message Commit message from developer
Confidentiality Impact confidentiality_impact Measures the potential impact on confidentiality of a successfully exploited misuse vulnerability
CWE ID cwe_id Common Weakness Enumeration ID
CVE ID cve_id Common Vulnerabilities and Exposures ID
CVE Page cve_page CVE Details web page link for that CVE
CVE Summary summary CVE summary information
CVSS Score score The relative severity of software flaw vulnerabilities
Files Changed files_changed All the changed files and corresponding patches
Integrity Impact integrity_impact Measures the potential impact to integrity of a successfully exploited misuse vulnerability\
Mini-version After Fix version_after_fix Mini-version ID after the fix
Mini-version Before Fix version_before_fix Mini-version ID before the fix
Programming Language lang Project programming language
Project project Project name
Publish Date publish_date Publish date of the CVE
Reference Link ref_ink Reference link in the CVE page
Update Date update_date Update date of the CVE
Vulnerability Classification vulnerability_classification Vulnerability type
  • We used the code changes information(minned from commited version patches) to localize which lines of code in the files were modified. Taking modified lines between the two mini-versions as flaw lines, we split the functions in the modified files into vulnerable functions (if there were flaw lines modified in the function) and non-vulnerable functions.

  • The cleaned version of split functions is coming soon.

    2. HOW To Use The Scripts

    Citation

    ACM Reference Format:

    Jiahao Fan, Yi Li, Shaohua Wang and Tien N. Nguyen. 2020. A C/C++ Code Vulnerability Dataset with Code Changes and CVE Summaries. In MSR โ€™20: The 17th International Conference on Mining Software Repositories,May 25โ€“26, 2020, MSR, Seoul, South Korea. ACM, New York, NY, USA, 5 pages. https://doi.org/10.1145/3379597.3387501

msr_20_code_vulnerability_csv_dataset's People

Contributors

zeovan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.