Bug 1160782 - (CVE-2020-6851) VUL-0: CVE-2020-6851: openjpeg2, ghostscript: heap-based buffer overflow in opj_t1_clbl_decode_processor
(CVE-2020-6851)
VUL-0: CVE-2020-6851: openjpeg2, ghostscript: heap-based buffer overflow in o...
Status: IN_PROGRESS
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/250807/
CVSSv3.1:SUSE:CVE-2020-6851:7.8:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-01-13 14:48 UTC by Wolfgang Frisch
Modified: 2022-04-19 10:24 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
CVE-2020-6851-PoC (636.00 KB, application/octet-stream)
2020-01-13 14:54 UTC, Wolfgang Frisch
Details
openjpeg2-024b8407392cb0b82b04b58ed256094ed5799e04.patch (1.21 KB, patch)
2020-01-13 15:06 UTC, Wolfgang Frisch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Wolfgang Frisch 2020-01-13 14:48:44 UTC
CVE-2020-6851

OpenJPEG through 2.3.1 has a heap-based buffer overflow in opj_t1_clbl_decode_processor in libopenjp2.so.

References:
https://github.com/uclouvain/openjpeg/issues/1228
https://bugzilla.redhat.com/show_bug.cgi?id=1790511
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2020-6851
Comment 1 Wolfgang Frisch 2020-01-13 14:54:25 UTC
Created attachment 827434 [details]
CVE-2020-6851-PoC

QA REPRODUCER:

1. compile openjpeg2 with Address Sanitizer
2. bin/opj_decompress -i ../CVE-2020-6851-PoC -o /tmp/image_verification.pgm
Comment 3 Wolfgang Frisch 2020-01-13 15:06:32 UTC
Created attachment 827438 [details]
openjpeg2-024b8407392cb0b82b04b58ed256094ed5799e04.patch

Source: https://github.com/uclouvain/openjpeg/commit/024b8407392cb0b82b04b58ed256094ed5799e04
Comment 4 Wolfgang Frisch 2020-05-04 10:27:52 UTC
Upstream issue: https://github.com/uclouvain/openjpeg/issues/1247
Comment 5 Gabriele Sonnu 2022-01-12 09:27:41 UTC
Hi, any update on this?
Comment 7 Marcus Meissner 2022-02-24 15:34:56 UTC
ping`?
Comment 9 Hans Petter Jansson 2022-04-01 21:35:34 UTC
Done, reassigning to security-team. SLE-12 unaffected.
Comment 10 Swamp Workflow Management 2022-04-19 10:24:35 UTC
SUSE-SU-2022:1252-1: An update that fixes 13 vulnerabilities is now available.

Category: security (important)
Bug References: 1076314,1076967,1079845,1102016,1106881,1106882,1140130,1160782,1162090,1173578,1180457,1184774,1197738
CVE References: CVE-2018-14423,CVE-2018-16375,CVE-2018-16376,CVE-2018-20845,CVE-2018-5727,CVE-2018-5785,CVE-2018-6616,CVE-2020-15389,CVE-2020-27823,CVE-2020-6851,CVE-2020-8112,CVE-2021-29338,CVE-2022-1122
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    openjpeg2-2.3.0-150000.3.5.1
openSUSE Leap 15.3 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Manager Server 4.1 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Manager Retail Branch Server 4.1 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Manager Proxy 4.1 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server for SAP 15-SP2 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server for SAP 15 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server 15-SP2-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server 15-SP2-BCL (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Server 15-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Realtime Extension 15-SP2 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Module for Basesystem 15-SP4 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-SP2-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-SP2-ESPOS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Enterprise Storage 7 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE Enterprise Storage 6 (src):    openjpeg2-2.3.0-150000.3.5.1
SUSE CaaS Platform 4.0 (src):    openjpeg2-2.3.0-150000.3.5.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.