CVE-2022-20418: Out of Bounds Read in libstagefright_rtsp
Summary
CVE-2022-20418: In pickStartSeq of AAVCAssembler.cpp, there is a possible out of bounds read due to a missing bounds check. Affects platform/frameworks/av across 3 version ranges.
>= 12:0, < 12:2022-10-01
>= 12L:0, < 12L:2022-10-01
>= 13:0, < 13:2022-10-01
Fixed in 12:2022-10-01. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The libstagefright_rtsp package is a component of the Android platform's frameworks/av module. It provides functionality for handling Real-Time Streaming Protocol (RTSP) streams. This package is responsible for parsing and assembling audio and video data from RTSP streams. It is a critical component for media playback on Android devices.
Vulnerability Detail
The vulnerability, identified as CVE-2022-20418, exists in the pickStartSeq function of the AAVCAssembler.cpp file in libstagefright_rtsp. It is caused by a missing bounds check, leading to an out of bounds read. An attacker can exploit this vulnerability remotely, without requiring any additional execution privileges or user interaction. By leveraging this flaw, an attacker can potentially disclose sensitive information from the targeted device.
How To Fix
Minimum fixed version
12:2022-10-01
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, developers can consider implementing additional security measures, such as network segmentation and access controls, to mitigate the risk of remote exploitation.
Conclusion
The vulnerability identified as CVE-2022-20418 in libstagefright_rtsp poses a significant risk to the confidentiality of sensitive information on Android devices. It is crucial for developers to promptly update their codebase with the necessary security patches to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for platform/frameworks/av →
FAQ
libstagefright_rtsp is a package in the Android platform's frameworks/av module that handles Real-Time Streaming Protocol (RTSP) streams for media playback.
This vulnerability allows remote attackers to read sensitive information from the targeted device without requiring any additional execution privileges or user interaction.
No, user interaction is not needed for exploiting this vulnerability.
Developers should update the affected package to a version that includes the necessary security patches, specifically versions 12 and 13 of the Android platform's frameworks/av module released on or after October 1, 2022.
While no specific workarounds are mentioned, developers can consider implementing additional security measures, such as network segmentation and access controls, to mitigate the risk of remote exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for platform/frameworks/av.