Use After Free Affecting openjpeg2 package, versions <2.3.1-1ubuntu5


Severity

low

    Threat Intelligence

    EPSS
    1.93% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-UBUNTU2204-OPENJPEG2-2787828
  • published 15 Sep 2020
  • disclosed 29 Jun 2020

How to fix?

Upgrade Ubuntu:22.04 openjpeg2 to version 2.3.1-1ubuntu5 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openjpeg2 package and not the openjpeg2 package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

jp2/opj_decompress.c in OpenJPEG through 2.3.1 has a use-after-free that can be triggered if there is a mix of valid and invalid files in a directory operated on by the decompressor. Triggering a double-free may also be possible. This is related to calling opj_image_destroy twice.

CVSS Scores

version 3.1
Expand this section

Snyk

6.5 low
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

NVD

6.5 medium
Expand this section

SUSE

5.3 medium
Expand this section

Red Hat

6.5 medium