Bug 1117517 (CVE-2018-19566) - VUL-1: CVE-2018-19566: dcraw: A heap buffer over-read in parse_tiff_ifd in dcraw could be used by attackers able to supply malicious files to crash the application or leak information
Summary: VUL-1: CVE-2018-19566: dcraw: A heap buffer over-read in parse_tiff_ifd in dc...
Status: RESOLVED FIXED
Alias: CVE-2018-19566
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P4 - Low : Minor
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/219700/
Whiteboard: CVSSv3:SUSE:CVE-2018-19566:4.4:(AV:L/...
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-27 16:36 UTC by Robert Frohl
Modified: 2024-05-06 11:55 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.
Description Robert Frohl 2018-11-27 16:36:34 UTC
CVE-2018-19566

A heap buffer over-read in parse_tiff_ifd in dcraw through 9.28 could be used by
attackers able to supply malicious files to crash an application that bundles
the dcraw code or leak private information.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-19566
http://people.canonical.com/~ubuntu-security/cve/2018/CVE-2018-19566.html
http://www.cvedetails.com/cve/CVE-2018-19566/
Comment 1 Robert Frohl 2018-11-27 16:42:00 UTC
QA reproducer:

$ echo -n 'TU0wMIAwMDAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMMUWMDAAAAA=' | base64 -d > heap-buffer-overflow.raw

$ valgrind dcraw heap-buffer-overflow.raw
[..]
==1100== Conditional jump or move depends on uninitialised value(s)
==1100==    at 0x12DFB3: parse_tiff_ifd (dcraw.c:6007)
==1100==    by 0x1310D9: parse_tiff (dcraw.c:6185)
==1100==    by 0x135285: identify (dcraw.c:8448)
==1100==    by 0x10ED33: main (dcraw.c:10007)
==1100== 
==1100== Conditional jump or move depends on uninitialised value(s)
==1100==    at 0x12DFB5: parse_tiff_ifd (dcraw.c:6007)
==1100==    by 0x1310D9: parse_tiff (dcraw.c:6185)
==1100==    by 0x135285: identify (dcraw.c:8448)
==1100==    by 0x10ED33: main (dcraw.c:10007)
==1100== 
==1100== Conditional jump or move depends on uninitialised value(s)
==1100==    at 0x4C30E6A: index (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1100==    by 0x12DF86: parse_tiff_ifd (dcraw.c:6006)
==1100==    by 0x1310D9: parse_tiff (dcraw.c:6185)
==1100==    by 0x135285: identify (dcraw.c:8448)
==1100==    by 0x10ED33: main (dcraw.c:10007)
==1100== 
==1100== Conditional jump or move depends on uninitialised value(s)
==1100==    at 0x4C30E70: index (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==1100==    by 0x12DF86: parse_tiff_ifd (dcraw.c:6006)
==1100==    by 0x1310D9: parse_tiff (dcraw.c:6185)
==1100==    by 0x135285: identify (dcraw.c:8448)
==1100==    by 0x10ED33: main (dcraw.c:10007)
[..]
Cannot decode file heap-buffer-overflow.raw
Comment 3 Swamp Workflow Management 2022-04-20 10:29:41 UTC
SUSE-SU-2022:1277-1: An update that fixes 11 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1056170,1063798,1084690,1097973,1097974,1117436,1117512,1117517,1117622,1117896,1189642
CVE References: CVE-2017-13735,CVE-2017-14608,CVE-2018-19565,CVE-2018-19566,CVE-2018-19567,CVE-2018-19568,CVE-2018-19655,CVE-2018-5801,CVE-2018-5805,CVE-2018-5806,CVE-2021-3624
JIRA References: 
Sources used:
openSUSE Leap 15.4 (src):    dcraw-9.28.0-150000.3.3.1
openSUSE Leap 15.3 (src):    dcraw-9.28.0-150000.3.3.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.
Comment 4 Swamp Workflow Management 2022-05-19 19:23:01 UTC
SUSE-SU-2022:1749-1: An update that fixes 11 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1056170,1063798,1084690,1097973,1097974,1117436,1117512,1117517,1117622,1117896,1189642
CVE References: CVE-2017-13735,CVE-2017-14608,CVE-2018-19565,CVE-2018-19566,CVE-2018-19567,CVE-2018-19568,CVE-2018-19655,CVE-2018-5801,CVE-2018-5805,CVE-2018-5806,CVE-2021-3624
JIRA References: 
Sources used:
SUSE Linux Enterprise Workstation Extension 12-SP5 (src):    dcraw-9.28.0-3.3.1
SUSE Linux Enterprise Software Development Kit 12-SP5 (src):    dcraw-9.28.0-3.3.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.