Use After Free Affecting openjpeg2 package, versions <2.4.0-1
Snyk CVSS
Attack Complexity
High
Availability
High
Threat Intelligence
EPSS
1.29% (86th
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-DEBIAN11-OPENJPEG2-574938
- published 30 Jun 2020
- disclosed 29 Jun 2020
Introduced: 29 Jun 2020
CVE-2020-15389 Open this link in a new tabHow to fix?
Upgrade Debian:11
openjpeg2
to version 2.4.0-1 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 Debian
.
See How to fix?
for Debian:11
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.
References
- https://security-tracker.debian.org/tracker/CVE-2020-15389
- https://www.debian.org/security/2021/dsa-4882
- https://security.gentoo.org/glsa/202101-29
- https://github.com/uclouvain/openjpeg/issues/1261
- https://pastebin.com/4sDKQ7U8
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://lists.debian.org/debian-lts-announce/2020/07/msg00008.html
- https://www.oracle.com//security-alerts/cpujul2021.html