Bug 1048883

Summary: VUL-1: CVE-2017-11336, CVE-2017-11337, CVE-2017-11338, CVE-2017-11339, CVE-2017-11340: exiv2: Multiple issues
Product: [openSUSE] openSUSE Tumbleweed Reporter: Johannes Segitz <jsegitz>
Component: OtherAssignee: Security Team bot <security-team>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P4 - Low CC: astieger, meissner
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/188556/
Whiteboard: CVSSv3:SUSE:CVE-2017-11338:7.5:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) CVSSv3:RedHat:CVE-2017-11336:3.3:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) CVSSv3:RedHat:CVE-2017-11337:3.3:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L) CVSSv3:RedHat:CVE-2017-11338:5.5:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) CVSSv3:RedHat:CVE-2017-11339:7.0:(AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H) CVSSv3:RedHat:CVE-2017-11340:5.5:(AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H) CVSSv2:NVD:CVE-2017-11340:4.3:(AV:N/AC:M/Au:N/C:N/I:N/A:P)
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Segitz 2017-07-17 07:09:20 UTC
We received reports about the attached reproducers triggering the following problems in exiv2:

CVE-2017-11336
There is a heap-based buffer over-read in the Image::printIFDStructure
function in image.cpp in Exiv2 0.26. A Crafted input will lead to a
remote denial of service attack.
Reproducer: POC2
https://bugzilla.redhat.com/show_bug.cgi?id=1470729

CVE-2017-11337
There is an invalid free in  Action::TaskFactory::cleanup  funtion of actions.cpp in  exiv2. A crafted input will lead to remote denial of service attack.
Reproducer: POC3
https://bugzilla.redhat.com/show_bug.cgi?id=1470737

CVE-2017-11338
There is an infinite loop in the Exiv2::Image::printIFDStructure function of image.cpp in Exiv2 0.26. A crafted input will lead to a remote denial of service attack.
Reproducer: POC4
https://bugzilla.redhat.com/show_bug.cgi?id=1470913

CVE-2017-11339
There is a heap-based buffer overflow in the Image::printIFDStructure function of image.cpp in Exiv2 0.26. A Crafted input will lead to a remote denial of service attack.
Reproducer: POC5
https://bugzilla.redhat.com/show_bug.cgi?id=1470946

CVE-2017-11340
There is a Segmentation fault in the XmpParser::terminate() function in Exiv2 0.26, related to an exit call. A Crafted input will lead to a remote denial of service attack.
Reproducer: POC6
https://bugzilla.redhat.com/show_bug.cgi?id=1470950

I tried to reproduce the issues, but none of the reproducers trigger for me. Do we have something special in our packages that might mitigate the problems?
Comment 1 Marcus Meissner 2017-08-21 15:39:13 UTC
CVE-2017-11336 - affects only factory exiv2 0.26 (not 0.25)

CVE-2017-11337 - affects only factory exiv2 0.26 (not 0.25)

CVE-2017-11338 - affects only factory exiv2 0.26 (not 0.25)

CVE-2017-11339 - affects only factory exiv2 0.26 (not 0.25)

CVE-2017-11340 - affects only factory exiv2 0.26 (not 0.25)


This is largely all in the same place, printIFDStructure and might even be dups I think.
Comment 2 Dirk Mueller 2018-05-30 11:48:27 UTC
fixed as part of https://github.com/Exiv2/exiv2/pull/120 which I submitted to Factory now.
Comment 3 Swamp Workflow Management 2018-05-30 12:40:06 UTC
This is an autogenerated message for OBS integration:
This bug (1048883) was mentioned in
https://build.opensuse.org/request/show/613049 Factory / exiv2
Comment 5 Swamp Workflow Management 2018-07-05 10:11:04 UTC
SUSE-SU-2018:1882-1: An update that fixes 15 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1048883,1050257,1051188,1054590,1054592,1054593,1060995,1060996,1061000,1061023
CVE References: CVE-2017-11337,CVE-2017-11338,CVE-2017-11339,CVE-2017-11340,CVE-2017-11553,CVE-2017-11591,CVE-2017-11592,CVE-2017-11683,CVE-2017-12955,CVE-2017-12956,CVE-2017-12957,CVE-2017-14859,CVE-2017-14860,CVE-2017-14862,CVE-2017-14864
Sources used:
SUSE Linux Enterprise Module for Desktop Applications 15 (src):    exiv2-0.26-6.3.1
Comment 6 Andreas Stieger 2018-07-13 18:04:35 UTC
done
Comment 7 Swamp Workflow Management 2018-07-14 01:09:32 UTC
openSUSE-SU-2018:1961-1: An update that fixes 15 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1048883,1050257,1051188,1054590,1054592,1054593,1060995,1060996,1061000,1061023
CVE References: CVE-2017-11337,CVE-2017-11338,CVE-2017-11339,CVE-2017-11340,CVE-2017-11553,CVE-2017-11591,CVE-2017-11592,CVE-2017-11683,CVE-2017-12955,CVE-2017-12956,CVE-2017-12957,CVE-2017-14859,CVE-2017-14860,CVE-2017-14862,CVE-2017-14864
Sources used:
openSUSE Leap 15.0 (src):    exiv2-0.26-lp150.5.3.1
Comment 8 Marcus Meissner 2018-08-29 14:59:49 UTC
done