REDHAT-BUG-2520590: Buffer Overflow
GStreamer PNG File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.
The specific flaw exists within the parsing of PNG files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-29581.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Because exploitation requires user interaction (user must visit a malicious page or open a malicious file), reduce exposure by preventing users from opening untrusted PNG files and from browsing untrusted/malicious web pages.
- Compensating control
Apply network-level restrictions to limit access to untrusted content/hosts (e.g., block known-malicious domains/URLs) to reduce the likelihood of users reaching or downloading malicious PNG content that triggers the GStreamer PNG parsing heap-based buffer overflow (ZDI-CAN-29581).