FFmpeg 1.0 Dimensions libavcodec/roqvideodec.c roq_decode_init input validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.7$0-$5k0.00

A vulnerability classified as critical has been found in FFmpeg 1.0 (Multimedia Processing Software). Affected is the function roq_decode_init of the file libavcodec/roqvideodec.c of the component Dimensions Handler. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

The roq_decode_init function in libavcodec/roqvideodec.c in FFmpeg before 1.1 allows remote attackers to have an unspecified impact via a crafted (1) width or (2) height dimension that is not a multiple of sixteen in id RoQ video data.

The issue has been introduced in 09/30/2012. The weakness was disclosed 11/29/2012 by Mateusz Jurczyk and Gynvael Coldwind (j00ru) with Google Security Team as roqvideodec: check dimensions validity as confirmed git commit (GIT Repository). The advisory is available at git.videolan.org. The public release has been coordinated in cooperation with the vendor. This vulnerability is traded as CVE-2013-0849 since 01/07/2013. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details 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 72355 (Debian DSA-2855-1 : libav - several vulnerabilities), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175271 (Debian Security Update for libav (DSA-2855-1)).

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 (89879) and Tenable (72355). The entries 7629, 9154, 9155 and 9158 are pretty similar.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.1
VulDB Meta Temp Score: 7.7

VulDB Base Score: 8.1
VulDB Temp Score: 7.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 72355
Nessus Name: Debian DSA-2855-1 : libav - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 702855
OpenVAS Name: Debian Security Advisory DSA 2855-1 (libav - several vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: FFmpeg 1.1
Patch: git.videolan.org

Timelineinfo

09/30/2012 🔍
11/29/2012 +60 days 🔍
11/29/2012 +0 days 🔍
12/12/2012 +13 days 🔍
12/12/2012 +0 days 🔍
01/07/2013 +26 days 🔍
06/17/2013 +161 days 🔍
12/07/2013 +173 days 🔍
04/24/2014 +138 days 🔍
05/17/2021 +2580 days 🔍

Sourcesinfo

Product: ffmpeg.org

Advisory: roqvideodec: check dimensions validity
Researcher: Mateusz Jurczyk, Gynvael Coldwind (j00ru)
Organization: Google Security Team
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-0849 (🔍)
OVAL: 🔍

X-Force: 89879
Vulnerability Center: 44239 - FFmpeg <1.1 Unspecified Remote Vulnerability in roqvideodec.c, Critical
SecurityFocus: 63796 - FFmpeg and Libav Multiple Remote Security Vulnerabilities
OSVDB: 94256

See also: 🔍

Entryinfo

Created: 06/17/2013 10:44
Updated: 05/17/2021 07:15
Changes: 06/17/2013 10:44 (83), 05/26/2017 03:50 (5), 05/17/2021 07:15 (3)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!