Google has stated that it is working to improve the security of Android and the measures it is taking to address common threats.
The company revealed that 59% of critical vulnerabilities affecting the operating system Android is memory issues such as memory corruption and overflows.
Memory security issues were by far the top category of security issues, followed by patent bypass defects, which accounted for 21% of those fixed by Google security technicians in 2019.
Memory issues are generally the top category of security vulnerabilities in major platforms such as Java, Windows 10 and Chrome. Google engineers last year said that 70% of Chrome security holes were memory issues. Prior to this Microsoft engineers had reported that 70% of all bugs fixed in its products were problems memory or software issues that allow access to operating system memory.
Google today says it's encouraging developers to use memory-safe programming languages like Java, Kotlin, and Rust, but it's also trying to improve the safety of C and C++. This is all part of the company's efforts to harden Android and protect the operating system from malware programs and exploits.
"C and C ++ do not provide memory security like Java, Kotlin and Rust do. since majority of the security vulnerabilities mentioned in Android are memory security issues, a dual approach is applied: improving the security of C / C ++ while at the same time encouraging the use of languages that are safe in memory " a post on her blog by the Android Security and Privacy Team.
Amazon Web Services (AWS) and Microsoft are also pushing for Rust adoption for the same security reasons. THE Mozilla created Rust to address C++ memory-related security issues in Firefox's Gecko engine. Rust version 1.0 was released in 2015, but adoption of the language is still relatively low.
For Android, the majority of bugs that Google fixed in 2020 were on media, Bluetooth, and NFC. The media library was the key element affected by critical and remote Stagefright bugs in Android that Google revealed in 2015.
According to Google, its efforts to harden the media server framework on Android resulted in 2020 not receiving any reports of critical vulnerability exploits in Android media frameworks.