Bug 34345 - libgd2: Multiple issues (3.2)
libgd2: Multiple issues (3.2)
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Security updates
UCS 3.2
Other Linux
: P4 normal (vote)
: UCS 3.2-x-errata
Assigned To: Security maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-17 08:02 CET by Moritz Muehlenhoff
Modified: 2019-04-11 19:24 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Security Issue
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:
requate: Patch_Available+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Muehlenhoff univentionstaff 2014-03-17 08:02:37 CET
+++ This bug was initially created as a clone of Bug #34344 +++

CVE-2014-2497

NULL pointer dereference in the gdImageCreateFromXpm() function.
Comment 1 Arvid Requate univentionstaff 2015-03-31 15:03:58 CEST
CVE-2014-9709

Potential crash of long running service due to buffer read overflow in gd_gif_in.c when reading crafted GIFs.
Comment 2 Arvid Requate univentionstaff 2015-05-06 18:22:24 CEST
Fixed in upstream Debian package version 2.0.36~rc1~dfsg-5+deb6u1
Comment 3 Arvid Requate univentionstaff 2016-06-27 18:11:16 CEST
The wheezy version 2.0.36~rc1~dfsg-6.1+deb7u3 might contain additional patches:

* Fixed memory overrun bug in gdImageScaleTwoPass (CVE-2013-7456)

* Stack consumption vulnerability in GD in PHP before 5.6.12 allows remote attackers to cause a denial of service via a crafted imagefilltoborder call. (CVE-2015-8874)

* The gdImageScaleTwoPass function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in PHP before 5.6.12, uses inconsistent allocate and free approaches, which allows remote attackers to cause a denial of service (memory consumption) via a crafted call, as demonstrated by a call to the PHP imagescale function. (CVE-2015-8877)


In Debian libgd2 is used by php5.
Comment 4 Janek Walkenhorst univentionstaff 2016-07-01 18:27:16 CEST
* Integer Overflow in _gd2GetHeader() resulting in heap overflow. (CVE-2016-5766)

For Debian 7 "Wheezy", these problems have been fixed in version
2.0.36~rc1~dfsg-6.1+deb7u4.
Comment 5 Arvid Requate univentionstaff 2016-10-24 13:11:56 CEST
Upstream Debian Wheezy package version 2.0.36~rc1~dfsg-6.1+deb7u5 fixes

* Global out-of-bounds read when encoding gif from malformed gd2 input (CVE-2016-6161)


Upstream Debian Wheezy package version 2.0.36~rc1~dfsg-6.1+deb7u6 fixes

* invalid read in gdImageCreateFromTiffPtr() (CVE-2016-6911)
* Stack Buffer Overflow in GD dynamicGetbuf (CVE-2016-8670)
Comment 6 Stefan Gohmann univentionstaff 2017-06-16 20:39:13 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 7 Stefan Gohmann univentionstaff 2017-08-08 07:11:06 CEST
This issue has been filed against UCS 3.2.

UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.