Bug 1120499 - (CVE-2018-20364) VUL-1: CVE-2018-20364: libraw: LibRaw:copy_bayer in libraw_cxx.cpp has a NULL pointer dereference
(CVE-2018-20364)
VUL-1: CVE-2018-20364: libraw: LibRaw:copy_bayer in libraw_cxx.cpp has a NULL...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P4 - Low : Minor
: ---
Assigned To: Security Team bot
Security Team bot
https://smash.suse.de/issue/221748/
CVSSv3:SUSE:CVE-2018-20364:3.3:(AV:L/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-01-02 14:04 UTC by Karol Babioch
Modified: 2021-09-27 16:40 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Karol Babioch 2019-01-02 14:15:04 UTC
According to a comment from the usptream issue [1] we might not be affected by this, since only a development branch was affected. However there were some backports for the 0.18.x branch for similar issues.

Petr, do you think this is relevant and applicable for us?

[1]: https://github.com/LibRaw/LibRaw/issues/195#issuecomment-449730837
Comment 2 Petr Gajdos 2019-01-09 11:53:47 UTC
TW/libraw

$ postprocessing_benchmark 1111
Processing file 1111

2.1 msec for unpack
Performance: 0.32 Mpix/sec
File: 1111, Frame: 0 0.0 total Mpix, 25.9 msec
Params:      WB=default Highlight=0 Qual=-1 HalfSize=No Median=0 Wavelet=0
Crop:        0-0:32x257, active Mpix: 0.01, 38.6 frames/sec
$
[no asan report]

15/libraw

$ postprocessing_benchmark 1111
Processing file 1111
Cannot open_file 1111: Unsupported file format or not RAW file
$
[no asan report]

12/libraw

$ postprocessing_benchmark 1111
Processing file 1111

4.3 msec for unpack
Performance: 1.32 Mpix/sec
File: 1111, Frame: 0 0.0 total Mpix, 6.2 msec
Params:      WB=default Highlight=0 Qual=-1 HalfSize=No Median=0 Wavelet=0
Crop:        0-0:32x257, active Mpix: 0.01, 160.3 frames/sec
$
[no asan report]

Upstream assumes this is fixed in
https://github.com/LibRaw/LibRaw/commit/7903346bfd5f8c24e5bfd4df48f0e5cd1e7b65cb
which is already part of the fix for CVE-2018-20365, which was ported into all maintained code streams.
Comment 3 Petr Gajdos 2019-01-09 11:57:54 UTC
Will submit for 15,12/libraw.
Comment 4 Petr Gajdos 2019-01-09 12:29:42 UTC
I believe all fixed.
Comment 5 Petr Gajdos 2019-01-09 12:32:45 UTC
Info provided.
Comment 8 Swamp Workflow Management 2019-01-18 17:10:11 UTC
SUSE-SU-2019:0127-1: An update that fixes 6 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1120498,1120499,1120500,1120515,1120516,1120517
CVE References: CVE-2018-20363,CVE-2018-20364,CVE-2018-20365,CVE-2018-5817,CVE-2018-5818,CVE-2018-5819
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP4 (src):    libraw-0.15.4-30.1
SUSE Linux Enterprise Workstation Extension 12-SP3 (src):    libraw-0.15.4-30.1
SUSE Linux Enterprise Software Development Kit 12-SP4 (src):    libraw-0.15.4-30.1
SUSE Linux Enterprise Software Development Kit 12-SP3 (src):    libraw-0.15.4-30.1
SUSE Linux Enterprise Desktop 12-SP4 (src):    libraw-0.15.4-30.1
SUSE Linux Enterprise Desktop 12-SP3 (src):    libraw-0.15.4-30.1
Comment 9 Swamp Workflow Management 2019-01-21 14:09:47 UTC
SUSE-SU-2019:0133-1: An update that fixes 7 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1120498,1120499,1120500,1120515,1120516,1120517,1120519
CVE References: CVE-2018-20337,CVE-2018-20363,CVE-2018-20364,CVE-2018-20365,CVE-2018-5817,CVE-2018-5818,CVE-2018-5819
Sources used:
SUSE Linux Enterprise Workstation Extension 15 (src):    libraw-0.18.9-3.8.1
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 (src):    libraw-0.18.9-3.8.1
Comment 10 Swamp Workflow Management 2019-01-29 14:20:42 UTC
openSUSE-SU-2019:0094-1: An update that fixes 7 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1120498,1120499,1120500,1120515,1120516,1120517,1120519
CVE References: CVE-2018-20337,CVE-2018-20363,CVE-2018-20364,CVE-2018-20365,CVE-2018-5817,CVE-2018-5818,CVE-2018-5819
Sources used:
openSUSE Leap 15.0 (src):    libraw-0.18.9-lp150.2.6.1
Comment 11 Marcus Meissner 2019-07-19 06:46:10 UTC
done
Comment 12 OBSbugzilla Bot 2021-09-27 16:40:21 UTC
This is an autogenerated message for OBS integration:
This bug (1120499) was mentioned in
https://build.opensuse.org/request/show/921823 Factory / libraw