FFmpeg 1.0 libavcodec/huffyuv.c decode_init Width memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.2 | $0-$5k | 0.00 |
A vulnerability classified as critical was found in FFmpeg 1.0 (Multimedia Processing Software). Affected by this vulnerability is the function decode_init
of the file libavcodec/huffyuv.c. The manipulation as part of a Width leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, and integrity. The summary by CVE is:
The decode_init function in libavcodec/huffyuv.c in FFmpeg before 1.1 allows remote attackers to have an unspecified impact via a crafted width in huffyuv data with the predictor set to median and the colorspace set to YUV422P, which triggers an out-of-bounds array access.
The issue has been introduced in 09/30/2012. The weakness was presented 11/29/2012 by Mateusz Jurczyk and Gynvael Coldwind (j00ru) with Google Security Team as huffyuvdec: check width more completely, avoid out of array accesses as confirmed git commit (GIT Repository). It is possible to read the advisory at git.videolan.org. The public release was coordinated in cooperation with the project team. This vulnerability is known as CVE-2013-0848 since 01/07/2013. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability was handled as a non-public zero-day exploit for at least 60 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 79573 (Mandriva Linux Security Advisory : ffmpeg (MDVSA-2014:227)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks.
Upgrading to version 1.1 eliminates this vulnerability. The upgrade is hosted for download at git.videolan.org. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.videolan.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (89878) and Tenable (79573). See 9125 for similar entry.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.2
VulDB Base Score: 6.5
VulDB Temp Score: 6.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
ATT&CK: Unknown
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 79573
Nessus Name: Mandriva Linux Security Advisory : ffmpeg (MDVSA-2014:227)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 703003
OpenVAS Name: Debian Security Advisory DSA 3003-1 (libav - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: FFmpeg 1.1
Patch: git.videolan.org
Timeline
09/30/2012 🔍11/29/2012 🔍
11/29/2012 🔍
12/12/2012 🔍
01/07/2013 🔍
06/10/2013 🔍
06/17/2013 🔍
12/07/2013 🔍
08/18/2014 🔍
11/26/2014 🔍
05/17/2021 🔍
Sources
Product: ffmpeg.orgAdvisory: huffyuvdec: check width more completely, avoid out of array accesses
Researcher: Mateusz Jurczyk, Gynvael Coldwind (j00ru)
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍
CVE: CVE-2013-0848 (🔍)
OVAL: 🔍
X-Force: 89878
Vulnerability Center: 45869 - FFmpeg Before 1.1 Unspecified Remote Vulnerability via a Crafted Width in Huffyuv Data, Critical
SecurityFocus: 60492 - FFmpeg 'mm_decode_inter()' Function Denial of Service Vulnerability
OSVDB: 94257
See also: 🔍
Entry
Created: 06/17/2013 10:44Updated: 05/17/2021 07:22
Changes: 06/17/2013 10:44 (79), 06/04/2017 10:56 (10), 05/17/2021 07:22 (3)
Complete: 🔍
No comments yet. Languages: en.
Please log in to comment.