Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679390 (CVE-2019-9210) - <app-arch/advancecomp-2.2_pre20190301: integer overflow in png_compress in pngex.cc
Summary: <app-arch/advancecomp-2.2_pre20190301: integer overflow in png_compress in pn...
Status: RESOLVED FIXED
Alias: CVE-2019-9210
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B3 [noglsa cve]
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-04 08:20 UTC by Agostino Sarubbo
Modified: 2019-03-20 16:03 UTC (History)
1 user (show)

See Also:
Package list:
app-arch/advancecomp-2.2_pre20190301
Runtime testing required: Yes
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2019-03-04 08:20:31 UTC
From ${URL} :

In AdvanceCOMP 2.1, png_compress in pngex.cc in advpng has an integer overflow upon encountering an invalid PNG size, which results in an 
attempted memcpy to write into a buffer that is too small. (There is also a heap-based buffer over-read.) 

Reference:
https://sourceforge.net/p/advancemame/bugs/277/



@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-10 07:32:42 UTC
I've added a snapshot with a few vulnerability fixes (no other changes included).  Please stabilize.
Comment 2 Larry the Git Cow gentoo-dev 2019-03-10 07:33:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c62bd168ce711fe757f57ded30f796de27e71a4

commit 8c62bd168ce711fe757f57ded30f796de27e71a4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-10 07:26:36 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-10 07:26:36 +0000

    app-arch/advancecomp: Add 2.2_pre20190301 snapshot, incl. sec fixes
    
    Bug: https://bugs.gentoo.org/679390
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-arch/advancecomp/Manifest                      |  1 +
 .../advancecomp/advancecomp-2.2_pre20190301.ebuild | 47 ++++++++++++++++++++++
 2 files changed, 48 insertions(+)
Comment 3 Agostino Sarubbo gentoo-dev 2019-03-14 21:15:09 UTC
amd64 stable
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2019-03-19 02:04:49 UTC
x86 stable
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2019-03-20 13:47:13 UTC
Please drop vulnerable.
Comment 6 Larry the Git Cow gentoo-dev 2019-03-20 15:02:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72603b4a270dcf4fb949c9d92bd27d00e1932ad5

commit 72603b4a270dcf4fb949c9d92bd27d00e1932ad5
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-20 13:54:58 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-20 15:01:32 +0000

    app-arch/advancecomp: Drop vulnerable versions
    
    Bug: https://bugs.gentoo.org/679390
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-arch/advancecomp/Manifest               |  2 --
 app-arch/advancecomp/advancecomp-2.0.ebuild | 45 -----------------------------
 app-arch/advancecomp/advancecomp-2.1.ebuild | 36 -----------------------
 3 files changed, 83 deletions(-)
Comment 7 Aaron Bauman (RETIRED) gentoo-dev 2019-03-20 16:03:47 UTC
Thanks!