Did You Forkget It? Detecting One-Day Vulnerabilities in Open-source ForksWith Global History Analysis

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lefeuvre, Romain, Reux, Charly, Zacchiroli, Stefano, Barais, Olivier, Combemale, Benoit
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910002847940608
author Lefeuvre, Romain
Reux, Charly
Zacchiroli, Stefano
Barais, Olivier
Combemale, Benoit
author_facet Lefeuvre, Romain
Reux, Charly
Zacchiroli, Stefano
Barais, Olivier
Combemale, Benoit
contents Tracking vulnerabilities inherited from third-party open-source software is a well-known challenge, often addressed by tracing the threads of dependency information. However, vulnerabilities can also propagate through forking: a code repository forked after the introduction of a vulnerability, but before it is patched, may remain vulnerable long after the vulnerability has been fixed in the initial repository. History analysis approaches are used to track vulnerable software versions at scale. However, such approaches fail to track vulnerabilities in forks, leaving fork maintainers to identify them manually. This paper presents a global history analysis approach to help software developers identify one-day (known but unpatched) vulnerabilities in forked repositories. Leveraging the global graph of public code, as captured by the Software Heritage archive, our approach propagates vulnerability information at the commit level and performs automated impact analysis. Starting from 7162 repositories with vulnerable commits listed in OSV, we propagate vulnerability information to 2.2 million forks. We evaluate our approach by filtering forks with significant user bases whose latest commit is still potentially vulnerable, manually auditing the code, and contacting maintainers for confirmation and responsible disclosure. This process identified 135 high-severity one-day vulnerabilities, achieving a precision of 0.69, with 9 confirmed by maintainers.
format Preprint
id arxiv_https___arxiv_org_abs_2511_05097
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Did You Forkget It? Detecting One-Day Vulnerabilities in Open-source ForksWith Global History Analysis
Lefeuvre, Romain
Reux, Charly
Zacchiroli, Stefano
Barais, Olivier
Combemale, Benoit
Cryptography and Security
Software Engineering
Tracking vulnerabilities inherited from third-party open-source software is a well-known challenge, often addressed by tracing the threads of dependency information. However, vulnerabilities can also propagate through forking: a code repository forked after the introduction of a vulnerability, but before it is patched, may remain vulnerable long after the vulnerability has been fixed in the initial repository. History analysis approaches are used to track vulnerable software versions at scale. However, such approaches fail to track vulnerabilities in forks, leaving fork maintainers to identify them manually. This paper presents a global history analysis approach to help software developers identify one-day (known but unpatched) vulnerabilities in forked repositories. Leveraging the global graph of public code, as captured by the Software Heritage archive, our approach propagates vulnerability information at the commit level and performs automated impact analysis. Starting from 7162 repositories with vulnerable commits listed in OSV, we propagate vulnerability information to 2.2 million forks. We evaluate our approach by filtering forks with significant user bases whose latest commit is still potentially vulnerable, manually auditing the code, and contacting maintainers for confirmation and responsible disclosure. This process identified 135 high-severity one-day vulnerabilities, achieving a precision of 0.69, with 9 confirmed by maintainers.
title Did You Forkget It? Detecting One-Day Vulnerabilities in Open-source ForksWith Global History Analysis
topic Cryptography and Security
Software Engineering
url https://arxiv.org/abs/2511.05097