CVEfixes: vulnerabilities and their fixes from open-source software
Moonen & Vidziunas
Security vulnerabilities linked to the exact code changes that fixed them.
A dataset automatically collected from CVE records in the U.S. National Vulnerability Database, linking each vulnerability to its fixing commits, files, and methods in open-source repositories. Release v1.0.8 covers all published CVEs up to 23 July 2024. It supports machine learning for vulnerability detection.
Access
- Cost
- FreeFree download from Zenodo; no account needed.
- License
- Open licenseCC BY 4.0
- Sign-up
- No sign-up
- How you get it
- Bulk downloadZIP (SQL database)
What's in it
- One row is
- One CVE, with linked commits, files, and methods at several levels of detail
- Covers
- Global (open-source projects)
- Years
- CVEs up to July 2024
- Updated
- Irregular
- Size
- Thousands of CVEs and many more commits and methods
Quality
Automatically collected with a documented pipeline and numbered releases; links can be wrong.
- Only open-source projects with identifiable fix commits
- Fix identification is heuristic
Connects to
- National Vulnerability Database: Source of CVE records
- Big-Vul: Another vulnerability-fix data set for model training
- Common Weakness Enumeration: Category taxonomy for the weakness types
Questions it could answer
- Which weakness types are most common in fixed vulnerabilities?
- How long do projects take to fix vulnerabilities?