Cryptography in the Wild: An Empirical Analysis of Vulnerabilities in Cryptographic Libraries

被引:0
|
作者
Blessing, Jenny [1 ]
Specter, Michael A. [2 ]
Weitzner, Daniel J. [3 ]
机构
[1] Univ Cambridge, Cambridge, England
[2] Georgia Inst Technol, Atlanta, GA USA
[3] MIT, Cambridge, MA USA
关键词
Cryptography; Vulnerabilities; Complexity; Cryptography Libraries;
D O I
10.1145/3634737.3657012
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The security of the Internet and numerous other applications 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 systematic, longitudinal analysis of cryptographic libraries and the vulnerabilities they produce. We collect data from the National Vulnerability Database, individual project repositories and mailing lists, and other relevant sources for all widely used cryptographic libraries. In our investigation of the causes of these vulnerabilities, we find evidence of a correlation between the complexity of these libraries and their (in)security, empirically demonstrating the potential risks of bloated cryptographic codebases. Among our most interesting findings is that 48.4% of vulnerabilities in libraries written in C and C++ are either primarily caused or exacerbated by memory safety issues, indicating that systems-level bugs are a major contributor to security issues in these systems. Cryptographic design and implementation issues make up 27.5% of vulnerabilities across all libraries, with side-channel attacks providing a further 19.4%. We find substantial variation among core library components in both complexity levels and vulnerabilities produced: for instance, over one-third of vulnerabilities are located in implementations of the SSL/TLS protocols, providing actionable evidence for codebase quality and security improvements in these libraries.
引用
收藏
页码:605 / 620
页数:16
相关论文
共 50 条
  • [31] An Empirical Study of Docker Vulnerabilities and of Static Code Analysis Applicability
    Duarte, Ana
    Antunes, Nuno
    2018 EIGHTH LATIN-AMERICAN SYMPOSIUM ON DEPENDABLE COMPUTING (LADC), 2018, : 27 - 36
  • [32] Empirical Analysis of Software Vulnerabilities Causing Timing Side Channels
    Kholoosi, M. Mehdi
    Babar, M. Ali
    Yilmaz, Cemal
    2023 IEEE CONFERENCE ON COMMUNICATIONS AND NETWORK SECURITY, CNS, 2023,
  • [33] An Empirical Analysis of Vulnerabilities in Python']Python Packages for Web Applications
    Ruohonen, Jukka
    2018 9TH INTERNATIONAL WORKSHOP ON EMPIRICAL SOFTWARE ENGINEERING IN PRACTICE (IWESEP), 2018, : 25 - 30
  • [34] Empirical analysis of attack graphs for mitigating critical paths and vulnerabilities
    Garg, Urvashi
    Sikka, Geeta
    Awasthi, Lalit K.
    COMPUTERS & SECURITY, 2018, 77 : 349 - 359
  • [35] AN EMPIRICAL-ANALYSIS OF LOANS BY SCHOOL LIBRARIES
    HOULE, R
    MONTMARQUETTE, C
    ALBERTA JOURNAL OF EDUCATIONAL RESEARCH, 1984, 30 (02): : 104 - 114
  • [36] Analyzing Cryptography in the Wild A Retrospective
    Albrecht, Martin R.
    Paterson, Kenneth G.
    IEEE SECURITY & PRIVACY, 2024, 22 (06) : 12 - 18
  • [37] CoinJoin in the Wild An Empirical Analysis in Dash
    Deuber, Dominic
    Schroeder, Dominique
    COMPUTER SECURITY - ESORICS 2021, PT II, 2021, 12973 : 461 - 480
  • [38] Vulnerabilities of quantum cryptography on geometrically uniform coherent states
    Kronberg, D. A.
    QUANTUM ELECTRONICS, 2021, 51 (10) : 928 - 937
  • [39] An empirical study of tactical vulnerabilities
    Santos, Joanna C. S.
    Tarrit, Katy
    Sejfia, Adriana
    Mirakhorli, Mehdi
    Galster, Matthias
    JOURNAL OF SYSTEMS AND SOFTWARE, 2019, 149 : 263 - 284
  • [40] An Empirical Study of Vulnerabilities in Robotics
    Cottrell, Kaitlyn
    Bose, Dibyendu Brinto
    Shahriar, Hossain
    Rahman, Akond
    2021 IEEE 45TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2021), 2021, : 735 - 744