FFmpeg interplayvideo.c avcodec_align_dimensions2 out-of-bounds write

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

Summaryinfo

A vulnerability was found in FFmpeg and classified as critical. Impacted is the function avcodec_align_dimensions2 of the file libavcodec/interplayvideo.c. The manipulation results in out-of-bounds write. This vulnerability is reported as CVE-2017-7865. The attack can be launched remotely. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in FFmpeg (Multimedia Processing Software) (the affected version is unknown). It has been classified as critical. Affected is the function avcodec_align_dimensions2 of the file libavcodec/interplayvideo.c. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. CWE is classifying the issue as CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

FFmpeg before 2017-01-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the ipvideo_decode_block_opcode_0xA function in libavcodec/interplayvideo.c and the avcodec_align_dimensions2 function in libavcodec/utils.c.

The bug was discovered 04/14/2017. The weakness was disclosed 04/14/2017 (Website). The advisory is shared for download at securityfocus.com. This vulnerability is traded as CVE-2017-7865 since 04/14/2017. The exploitability is told to be easy. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 99722 (openSUSE Security Update : ffmpeg (openSUSE-2017-524)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176657 (Debian Security Update for libav (DLA 1654-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at Tenable (99722) and SecurityFocus (BID 97685†). The entries VDB-68317, VDB-96751, VDB-96752 and VDB-99846 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.5
VulDB Meta Temp Score: 8.4

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: CWE-787 / 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: 99722
Nessus Name: openSUSE Security Update : ffmpeg (openSUSE-2017-524)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 850584
OpenVAS Name: SuSE Update for ffmpeg, openSUSE-SU-2017:2502-1 (ffmpeg,)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: github.com

Timelineinfo

01/24/2017 🔍
04/14/2017 +80 days 🔍
04/14/2017 +0 days 🔍
04/14/2017 +0 days 🔍
04/14/2017 +0 days 🔍
04/14/2017 +0 days 🔍
04/14/2017 +0 days 🔍
04/28/2017 +14 days 🔍
11/29/2022 +2041 days 🔍

Sourcesinfo

Product: ffmpeg.org

Advisory: 2080bc33717955a0e4268e738acf8c1eeddbf8cb
Status: Confirmed

CVE: CVE-2017-7865 (🔍)
GCVE (CVE): GCVE-0-2017-7865
GCVE (VulDB): GCVE-100-99852
SecurityFocus: 97685 - FFmpeg CVE-2017-7865 Multiple Heap Buffer Overflow Vulnerabilities
OSVDB: - CVE-2017-7865 - FFmpeg - Buffer Overflow Issue

See also: 🔍

Entryinfo

Created: 04/14/2017 11:13
Updated: 11/29/2022 11:30
Changes: 04/14/2017 11:13 (73), 08/31/2020 09:42 (4), 11/29/2022 11:23 (5), 11/29/2022 11:30 (1)
Complete: 🔍
Cache ID: 216:251:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!