Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610714 - media-gfx/icoutils: multiple buffer overflow
Summary: media-gfx/icoutils: multiple buffer overflow
Status: RESOLVED DUPLICATE of bug 605138
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: B2 [upstream]
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-23 16:26 UTC by Agostino Sarubbo
Modified: 2017-03-16 09:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2017-02-23 16:26:51 UTC
From https://bugzilla.redhat.com/show_bug.cgi?id=1422906:

An issue was discovered in icoutils. A buffer overflow was observed in the "decode_ne_resource_id" function in the "restable.c" source file. This is 
happening because the "len" parameter for memcpy is not checked for size and thus becomes a negative integer in the process, resulting in a failed 
memcpy. This affects wrestool.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250877



From https://bugzilla.redhat.com/show_bug.cgi?id=1422907:

An issue was discovered in icoutils. A buffer overflow was observed in the "extract_icons" function in the "extract.c" sourcefile. This issue can be 
triggered by processing a corrupted ico file and will result in an icotool crash.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250878



From https://bugzilla.redhat.com/show_bug.cgi?id=1422908:

An issue was discovered in icoutils. An out-of-bounds read leading to a buffer overflow was observed in the "simple_vec" function in the "extract.c" 
source file. This affects icotool.

writeup:
https://bugzilla.redhat.com/attachment.cgi?id=1250879


@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 Thomas Deutschmann (RETIRED) gentoo-dev 2017-03-16 09:12:58 UTC

*** This bug has been marked as a duplicate of bug 605138 ***