1. CVE archive
  2. 2016
  3. CVE-2016-9388

CVE-2016-9388

5.5 Medium severity CVSS v3.1 · source NVD CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H 5.5 – Medium

Description

The ras_getcmap function in ras_dec.c in JasPer before 1.900.14 allows remote attackers to cause a denial of service (assertion failure) via a crafted image file.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
jasper project jasper < 1.900.14 –
All 101 Jasper Project Jasper vulnerabilities

Vulnerability type

CWE-617 Reachable Assertion

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart
While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, an attacker can still cause a denial of service if they can trigger an assert statement, and if the scope of the assert() extends beyond the attacker's own session. For example, if a server handles multiple simultaneous connections, if an assert() occurs in one single connection that causes all other connections to be dropped, this could be a significant denial of service.

How to prevent it

Implementation If the assertion statement is required (e.g., for security or reliability), change the invoking code to avoid the conditions that trigger the assertion.
Implementation Consider changing the assertion to some other less fatal error. This might not be easy to implement, since other code may be needed to handle the error.
Implementation Make sensitive open/close operations non-reachable from directly user-controlled data (e.g. open/close resources)
Implementation · Input Validation Perform input validation on user data.

All 927 CWE-617 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org