Bug 224960 - graphics/optipng: update to 0.7.7
Summary: graphics/optipng: update to 0.7.7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Yuri Victorovich
Keywords: patch, security
Depends on:
Reported: 2018-01-06 23:59 UTC by Vidar Karlsen
Modified: 2018-02-12 10:02 UTC (History)
2 users (show)

See Also:
yuri: maintainer-feedback+
vidar: merge-quarterly?

Patch to update optipng to 0.7.7 (2.08 KB, patch)
2018-01-06 23:59 UTC, Vidar Karlsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vidar Karlsen 2018-01-06 23:59:23 UTC
Created attachment 189482 [details]
Patch to update optipng to 0.7.7

Update OptiPNG to 0.7.7

This fixes two security vulnerabilities, a buffer overflow vulnerability
in the GIF decoder and an integer overflow vulnerability in the TIFF decoder.

A global buffer overflow in OptiPNG 0.7.6 allows remote attackers to cause
a denial-of-service attack or other unspecified impact with a maliciously
crafted GIF format file, related to an uncontrolled loop in the LZWReadByte
function of the gifread.c file.

Integer overflow bug in function minitiff_read_info() of optipng 0.7.6
allows an attacker to remotely execute code or cause denial of service.

QA of the attached patch:
portlint -A: looks fine.
poudriere testport FreeBSD 11.1 amd64: ok
poudriere testport FreeBSD 11.1 i386:  ok
poudriere testport FreeBSD 10.4 amd64: ok
poudriere testport FreeBSD 10.4 i386:  ok
poudriere testport FreeBSD 10.3 amd64: ok
poudriere testport FreeBSD 10.3 i386:  ok

Comment 1 Yuri Victorovich freebsd_committer 2018-02-12 09:59:59 UTC
Timeout expired.
Comment 2 Yuri Victorovich freebsd_committer 2018-02-12 10:02:10 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer 2018-02-12 10:02:54 UTC
A commit references this bug:

Author: yuri
Date: Mon Feb 12 10:02:03 UTC 2018
New revision: 461572
URL: https://svnweb.freebsd.org/changeset/ports/461572

  graphics/optipng: Update to 0.7.7

  PR:		224960
  Submitted by:	Vidar Karlsen <vidar@karlsen.tech>
  Approved by:	timeout expired, tcberner (mentor, implicit)