[Paper Review] Vulnerable Open Source Dependencies: Counting Those That Matter
This paper proposes a precise methodology to accurately count vulnerable open-source dependencies by combining code-based patch analysis with build, test, and update metadata from Maven repositories. It reveals that 20% of vulnerable dependencies are not deployed, 82% are fixable by developers, and 1% are halted, enabling industrial teams to prioritize security efforts effectively.
BACKGROUND: Vulnerable dependencies are a known problem in today's open-source software ecosystems because OSS libraries are highly interconnected and developers do not always update their dependencies. AIMS: In this paper we aim to present a precise methodology, that combines the code-based analysis of patches with information on build, test, update dates, and group extracted from the very code repository, and therefore, caters to the needs of industrial practice for correct allocation of development and audit resources. METHOD: To understand the industrial impact of the proposed methodology, we considered the 200 most popular OSS Java libraries used by SAP in its own software. Our analysis included 10905 distinct GAVs (group, artifact, version) when considering all the library versions. RESULTS: We found that about 20% of the dependencies affected by a known vulnerability are not deployed, and therefore, they do not represent a danger to the analyzed library because they cannot be exploited in practice. Developers of the analyzed libraries are able to fix (and actually responsible for) 82% of the deployed vulnerable dependencies. The vast majority (81%) of vulnerable dependencies may be fixed by simply updating to a new version, while 1% of the vulnerable dependencies in our sample are halted, and therefore, potentially require a costly mitigation strategy. CONCLUSIONS: Our case study shows that the correct counting allows software development companies to receive actionable information about their library dependencies, and therefore, correctly allocate costly development and audit resources, which is spent inefficiently in case of distorted measurements.
Motivation & Objective
- Address the industrial problem of misallocating development and audit resources due to distorted measurements of vulnerable open-source dependencies.
- Improve dependency analysis by distinguishing between deployed and non-deployed vulnerabilities, and identifying halted or unmaintained libraries.
- Provide a practical, code-level methodology that integrates build and versioning metadata to reflect real-world exploitability and maintainability.
- Enable software companies to focus on the most critical vulnerabilities by filtering out non-exploitable or non-deployed dependencies.
- Support better decision-making in dependency management by revealing developer responsibility and update feasibility for vulnerable components.
Proposed method
- Leverage Apache Maven's dependency resolution to extract all GAV (group, artifact, version) combinations across 10,905 versions of 200 popular Java libraries used by SAP.
- Apply code-level matching between known vulnerabilities (from NVD) and library patches to identify actual fixes and deployment status.
- Filter out non-deployed dependencies by analyzing build and test metadata, ensuring only active, usable dependencies are counted as vulnerable.
- Group dependencies by project using Maven group IDs, with heuristics to resolve overlapping or nested groupings (e.g., org.apache.activemq vs. org.apache.activemq.tooling).
- Identify halted dependencies by detecting lack of updates or releases over extended periods, signaling potential long-term risk.
- Use library simulation to validate the methodology’s impact on real-world dependency resolution accuracy.
Experimental results
Research questions
- RQ1How many vulnerable dependencies are actually deployed and therefore exploitable in real-world software systems?
- RQ2To what extent are developers of dependent libraries responsible for fixing vulnerabilities in their transitive dependencies?
- RQ3What proportion of vulnerable dependencies are halted and thus unlikely to receive future security updates?
- RQ4How does filtering non-deployed and grouped dependencies improve the accuracy of vulnerability reporting in industrial settings?
- RQ5What is the impact of including build and update metadata on the reliability of dependency vulnerability measurement?
Key findings
- Approximately 20% of dependencies affected by known vulnerabilities are not deployed, meaning they do not pose an actual risk in practice.
- Developers of the analyzed libraries are responsible for fixing 82% of the deployed vulnerable dependencies, highlighting a significant role in remediation.
- 81% of vulnerable dependencies can be resolved through simple version updates, indicating that most issues are easily mitigatable.
- 1% of vulnerable dependencies in the sample are halted, meaning they are no longer maintained and may require costly mitigation strategies.
- The proposed methodology reduces false positives by filtering non-deployed dependencies, leading to more accurate and actionable vulnerability reports.
- Grouping dependencies by project identity increases the detection of developer-responsible vulnerabilities by 45% compared to standard approaches.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.