OpenJPEG 2.3.0 BMP File openjp2/j2k.c opj_j2k_setup_encoder integer overflow

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

Summaryinfo

A vulnerability marked as critical has been reported in OpenJPEG 2.3.0. This affects the function opj_j2k_setup_encoder of the file openjp2/j2k.c of the component BMP File Handler. Performing a manipulation results in integer overflow. This vulnerability was named CVE-2018-5785. The attack may be initiated remotely. There is no available exploit. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in OpenJPEG 2.3.0 (Image Processing Software). It has been classified as critical. This affects the function opj_j2k_setup_encoder of the file openjp2/j2k.c of the component BMP File Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on availability. The summary by CVE is:

In OpenJPEG 2.3.0, there is an integer overflow caused by an out-of-bounds left shift in the opj_j2k_setup_encoder function (openjp2/j2k.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.

The bug was discovered 01/19/2018. The weakness was presented 01/19/2018 (Website). It is possible to read the advisory at github.com. This vulnerability is uniquely identified as CVE-2018-5785 since 01/19/2018. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 120644 (Fedora 29 : mingw-openjpeg2 / openjpeg2 (2018-9954b282ec)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 176631 (Debian Security Update for openjpeg2 (DSA 4405-1)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 10 months after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (120644). See VDB-110369, VDB-112829, VDB-121978 and VDB-125160 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.8

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 6.5
NVD Vector: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Integer overflow
CWE: CWE-190 / CWE-189
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: 120644
Nessus Name: Fedora 29 : mingw-openjpeg2 / openjpeg2 (2018-9954b282ec)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

01/19/2018 🔍
01/19/2018 +0 days 🔍
01/19/2018 +0 days 🔍
01/19/2018 +0 days 🔍
01/20/2018 +1 days 🔍
10/08/2018 +261 days 🔍
01/03/2019 +87 days 🔍
02/02/2023 +1491 days 🔍

Sourcesinfo

Advisory: FEDORA-2018-9954b282ec
Status: Confirmed

CVE: CVE-2018-5785 (🔍)
GCVE (CVE): GCVE-0-2018-5785
GCVE (VulDB): GCVE-100-112263
See also: 🔍

Entryinfo

Created: 01/20/2018 13:33
Updated: 02/02/2023 10:34
Changes: 01/20/2018 13:33 (66), 12/25/2019 14:21 (10), 02/02/2023 10:29 (4), 02/02/2023 10:34 (1)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source 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!