You Really Shouldn't Roll Your Own Crypto: An Empirical Study of Vulnerabilities in Cryptographic Libraries
Jenny Blessing, Michael A. Specter, Daniel J. Weitzner

TL;DR
This study analyzes vulnerabilities in cryptographic libraries, revealing that system-level bugs and complexity are major security concerns, surpassing cryptographic flaws, and highlighting the risks of bloated codebases.
Contribution
First comprehensive empirical analysis of cryptographic library vulnerabilities, linking complexity and system-level bugs to security risks, with comparative insights against non-cryptographic systems.
Findings
Only 27.2% of vulnerabilities are cryptographic issues.
37.2% of vulnerabilities are memory safety issues.
Cryptographic libraries are more complex and vulnerable than similar non-cryptographic systems.
Abstract
The security of the Internet rests on a small number of open-source cryptographic libraries: a vulnerability in any one of them threatens to compromise a significant percentage of web traffic. Despite this potential for security impact, the characteristics and causes of vulnerabilities in cryptographic software are not well understood. In this work, we conduct the first comprehensive analysis of cryptographic libraries and the vulnerabilities affecting them. We collect data from the National Vulnerability Database, individual project repositories and mailing lists, and other relevant sources for eight widely used cryptographic libraries. Among our most interesting findings is that only 27.2% of vulnerabilities in cryptographic libraries are cryptographic issues while 37.2% of vulnerabilities are memory safety issues, indicating that systems-level bugs are a greater security concern…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Security and Verification in Computing · Web Application Security Vulnerabilities
