[Paper Review] An Empirical Study on Android-related Vulnerabilities
This paper presents a large-scale empirical study of 660 Android-related vulnerabilities, analyzing their types, affected OS layers, and survivability. Using manual and automated analysis of security bulletins and version control data, it identifies memory buffer overflows and input validation flaws as top causes, finds kernel and native libraries as most vulnerable, and reveals an average vulnerability survival time of 724 days—highlighting the need for better detection tools and secure coding practices in mobile OS development.
Mobile devices are used more and more in everyday life. They are our cameras, wallets, and keys. Basically, they embed most of our private information in our pocket. For this and other reasons, mobile devices, and in particular the software that runs on them, are considered first-class citizens in the software-vulnerabilities landscape. Several studies investigated the software-vulnerabilities phenomenon in the context of mobile apps and, more in general, mobile devices. Most of these studies focused on vulnerabilities that could affect mobile apps, while just few investigated vulnerabilities affecting the underlying platform on which mobile apps run: the Operating System (OS). Also, these studies have been run on a very limited set of vulnerabilities. In this paper we present the largest study at date investigating Android-related vulnerabilities, with a specific focus on the ones affecting the Android OS. In particular, we (i) define a detailed taxonomy of the types of Android-related vulnerability; (ii) investigate the layers and subsystems from the Android OS affected by vulnerabilities; and (iii) study the survivability of vulnerabilities (i.e., the number of days between the vulnerability introduction and its fixing). Our findings could help OS and apps developers in focusing their verification & validation activities, and researchers in building vulnerability detection tools tailored for the mobile world.
Motivation & Objective
- To understand the types and root causes of Android-related vulnerabilities, especially those affecting the Android OS.
- To identify which architectural layers and subsystems of the Android OS are most frequently impacted by vulnerabilities.
- To analyze the survivability of vulnerabilities—measuring the time between introduction and fixing—across the Android codebase.
- To provide a detailed taxonomy of Android vulnerabilities to guide developers and researchers in improving security.
- To inform the design of automated vulnerability detection tools tailored for mobile platforms.
Proposed method
- Manual analysis of 660 vulnerabilities from official Android security bulletins, CVE-details, and National Vulnerability Database.
- Classification of vulnerabilities using the Common Weakness Enumeration (CWE) taxonomy to define a detailed vulnerability type hierarchy.
- Identification of affected Android OS layers and subsystems through analysis of commit histories and vulnerability reports.
- Application of the SZZ algorithm to estimate vulnerability survivability by locating the earliest commit introducing the vulnerability and the fixing commit.
- Use of minimum and maximum survivability estimates to mitigate false positives from the SZZ algorithm and improve robustness.
- Manual validation of a subset of vulnerabilities to ensure accuracy of classification and survivability estimation.
Experimental results
Research questions
- RQ1What are the main types and hierarchical relationships of Android-related vulnerabilities, particularly those affecting the Android OS?
- RQ2Which layers and subsystems within the Android OS are most frequently affected by security vulnerabilities?
- RQ3How long do Android-related vulnerabilities typically survive in the codebase before being fixed?
- RQ4What are the primary root causes of vulnerabilities in the Android OS, especially in low-level components?
- RQ5How can the findings inform the development of secure coding practices and automated vulnerability detection tools?
Key findings
- The most frequent vulnerability type is improper restriction of operations in memory buffer bounds, accounting for a significant portion of all vulnerabilities.
- Hardware drivers in the Linux kernel and native libraries are the most vulnerable components, indicating low-level system components as high-risk areas.
- On average, Android vulnerabilities survive for at least 724 days between introduction and fixing, highlighting long-lived security debt.
- Improper input validation, type errors, and numeric processing flaws are among the top contributing factors to vulnerabilities.
- The majority of vulnerabilities stem from insecure coding practices, especially in memory and data handling, suggesting that static analysis and secure-by-design practices could prevent many issues.
- The study's taxonomy of vulnerabilities provides a foundation for building targeted detection tools and improving verification & validation efforts in mobile OS development.
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.