Bug 1489844

Summary: CVE-2017-6362 libwmf: gd: Double free in the gdImagePngPtr function [fedora-all]
Product: [Fedora] Fedora Reporter: Andrej Nemec <anemec>
Component: libwmfAssignee: Caolan McNamara <caolanm>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 26CC: alexl, caillon+fedoraproject, caolanm, john.j5live, mbarnes, rhughes, rstrode, sandmann
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libwmf-0.2.8.4-53.fc26 libwmf-0.2.8.4-53.fc25 libwmf-0.2.8.4-53.fc27 Doc Type: Release Note
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-13 22:25:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1489842    

Description Andrej Nemec 2017-09-08 13:15:32 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

Comment 1 Andrej Nemec 2017-09-08 13:15:41 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=1489842,1489844

# Description of your update
notes=Security fix for [PUT CVEs HERE]

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi web interface to submit updates:

https://bodhi.fedoraproject.org/updates/new

Comment 2 Caolan McNamara 2017-09-12 12:20:22 UTC
gdImagePngPtr exists in the libwmf gd copy, but is unused by it, so libwmf is not affected by this problem, but I'll remove the function entirely

Comment 3 Fedora Update System 2017-09-12 12:45:08 UTC
libwmf-0.2.8.4-53.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-c98c2e8e7a

Comment 4 Fedora Update System 2017-09-12 12:45:16 UTC
libwmf-0.2.8.4-53.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d361de1a65

Comment 5 Fedora Update System 2017-09-12 12:45:24 UTC
libwmf-0.2.8.4-53.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-b444c3b9c5

Comment 6 Fedora Update System 2017-09-12 19:57:27 UTC
libwmf-0.2.8.4-53.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-b444c3b9c5

Comment 7 Fedora Update System 2017-09-13 06:21:22 UTC
libwmf-0.2.8.4-53.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-c98c2e8e7a

Comment 8 Fedora Update System 2017-09-13 07:24:14 UTC
libwmf-0.2.8.4-53.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d361de1a65

Comment 9 Fedora Update System 2017-09-13 22:25:20 UTC
libwmf-0.2.8.4-53.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2017-09-20 19:50:06 UTC
libwmf-0.2.8.4-53.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2017-10-04 14:19:55 UTC
libwmf-0.2.8.4-53.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.