FFmpeg up to 0.10 libswscale/utils.c sws_init_context memory corruption

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.
9.5$0-$5k0.00

Summaryinfo

A vulnerability was found in FFmpeg up to 0.10. It has been rated as problematic. This issue affects the function sws_init_context in the library libswscale/utils.c. The manipulation leads to memory corruption. This vulnerability is referenced as CVE-2012-0947. Remote exploitation of the attack is possible. No exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in FFmpeg up to 0.10 (Multimedia Processing Software). It has been rated as critical. This issue affects the function sws_init_context in the library libswscale/utils.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Heap-based buffer overflow in the vqa_decode_chunk function in the VQA codec (vqavideo.c) in libavcodec in Libav 0.5.x before 0.5.9, 0.6.x before 0.6.6, 0.7.x before 0.7.6, and 0.8.x before 0.8.2 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted VQA media file in which the image size is not a multiple of the block size.

The weakness was published 03/27/2012 by Fabian Yamaguchi (Website). It is possible to read the advisory at ffmpeg.org. The identification of this vulnerability is CVE-2012-0947 since 02/01/2012. The exploitation is known to be difficult. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 59094 (Debian DSA-2471-1 : ffmpeg - 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 175239 (Debian Security Update for FFmpeg (DSA-2471)).

Upgrading to version 0.10.1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (75436), Tenable (59094), SecurityFocus (BID 53389†), OSVDB (81062†) and Secunia (SA48770†). Similar entries are available at VDB-5073, VDB-5074, VDB-61702 and VDB-61697. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.5

VulDB Base Score: 10.0
VulDB Temp Score: 9.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 59094
Nessus Name: Debian DSA-2471-1 : ffmpeg - several vulnerabilities
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 892471
OpenVAS Name: Debian Security Advisory DSA 2471-1 (ffmpeg - 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 0.10.1

Timelineinfo

02/01/2012 🔍
03/27/2012 +55 days 🔍
03/27/2012 +0 days 🔍
04/09/2012 +13 days 🔍
04/12/2012 +3 days 🔍
04/13/2012 +1 days 🔍
05/03/2012 +20 days 🔍
05/23/2012 +20 days 🔍
07/26/2012 +64 days 🔍
08/20/2012 +25 days 🔍
03/22/2021 +3136 days 🔍

Sourcesinfo

Product: ffmpeg.org

Advisory: ffmpeg.org
Researcher: Fabian Yamaguchi
Status: Not defined
Confirmation: 🔍

CVE: CVE-2012-0947 (🔍)
GCVE (CVE): GCVE-0-2012-0947
GCVE (VulDB): GCVE-100-5075

OVAL: 🔍

X-Force: 75436
SecurityFocus: 53389 - FFmpeg libavcodec 'vqavideo.c' '.vaq' File Heap Memory Corruption Vulnerability
Secunia: 48770 - FFmpeg Multiple Vulnerabilities, Moderately Critical
OSVDB: 81062
Vulnerability Center: 35740 - Ffmpeg Before 0.10.0 Remote Code Execution via a Crafted VQA File, Medium

See also: 🔍

Entryinfo

Created: 04/13/2012 15:00
Updated: 03/22/2021 18:20
Changes: 04/13/2012 15:00 (69), 04/14/2019 13:09 (13), 03/22/2021 18:20 (2)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!