On the Discoverability of npm Vulnerabilities in Node.js Projects

Author:

Alfadel Mahmoud,Costa Diego Elias,Shihab Emad1,Adams Bram2

Affiliation:

1. Concordia University, Canada

2. Queen’s University, Canada

Abstract

The reliance on vulnerable dependencies is a major threat to software systems. Dependency vulnerabilities are common and remain undisclosed for years. However, once the vulnerability is discovered and publicly known to the community, the risk of exploitation reaches its peak, and developers have to work fast to remediate the problem. While there has been a lot of research to characterize vulnerabilities in software ecosystems, none have explored the problem taking the discoverability into account. Therefore, we perform a large-scale empirical study examining 6,546 Node.js applications. We define three discoverability levels based on vulnerabilities lifecycle (undisclosed, reported, and public). We find that although the majority of the affected applications (99.42%) depend on undisclosed vulnerable packages, 206 (4.63%) applications were exposed to dependencies with public vulnerabilities. The major culprit for the applications being affected by public vulnerabilities is the lack of dependency updates; in 90.8% of the cases, a fix is available but not patched by application maintainers. Moreover, we find that applications remain affected by public vulnerabilities for a long time (103 days). Finally, we devise DepReveal, a tool that supports our discoverability analysis approach, to help developers better understand vulnerabilities in their application dependencies and plan their project maintenance.

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference70 articles.

1. [n.d.]. About coordinated disclosure of security vulnerabilities - GitHub Docs. https://docs.github.com/en/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities#about-disclosing-vulnerabilities-in-the-industry. (Accessed on 07/17/2021). [n.d.]. About coordinated disclosure of security vulnerabilities - GitHub Docs. https://docs.github.com/en/code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities#about-disclosing-vulnerabilities-in-the-industry. (Accessed on 07/17/2021).

2. [n.d.]. About coordinated disclosure of security vulnerabilities - GitHub Docs. https://docs.github.com/en/code-security/repository-security-advisories/about-coordinated-disclosure-of-security-vulnerabilities. (Accessed on 04/09/2022). [n.d.]. About coordinated disclosure of security vulnerabilities - GitHub Docs. https://docs.github.com/en/code-security/repository-security-advisories/about-coordinated-disclosure-of-security-vulnerabilities. (Accessed on 04/09/2022).

3. [n.d.]. Add package marked@0.3.4. https://github.com/atom/atom/commit/41b799aebc7f40201219d8ec435d1520cf057285. (Accessed on 07/17/2021). [n.d.]. Add package marked@0.3.4. https://github.com/atom/atom/commit/41b799aebc7f40201219d8ec435d1520cf057285. (Accessed on 07/17/2021).

4. [n.d.]. atom/atom: The hackable text editor . https://github.com/atom/atom. ( Accessed on 07/17/ 2021 ). [n.d.]. atom/atom: The hackable text editor. https://github.com/atom/atom. (Accessed on 07/17/2021).

5. [n.d.]. CWE - 2022 CWE Top 25 Most Dangerous Software Weaknesses. https://cwe.mitre.org/top25/archive/2022/2022_cwe_top25.html. (Accessed on 07/18/2022). [n.d.]. CWE - 2022 CWE Top 25 Most Dangerous Software Weaknesses. https://cwe.mitre.org/top25/archive/2022/2022_cwe_top25.html. (Accessed on 07/18/2022).

Cited by 2 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3