Use of Uninitialized Resource Affecting gd package, versions <2.2.5-r3
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE311-GD-589149
- published 9 Jun 2019
- disclosed 19 Jun 2019
How to fix?
Upgrade Alpine:3.11 gd to version 2.2.5-r3 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream gd package and not the gd package as distributed by Alpine.
See How to fix? for Alpine:3.11 relevant fixed versions and status.
When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11038
- https://seclists.org/bugtraq/2019/Sep/38
- https://bugs.php.net/bug.php?id=77973
- https://bugzilla.suse.com/show_bug.cgi?id=1140118
- https://bugzilla.suse.com/show_bug.cgi?id=1140120
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821
- https://www.debian.org/security/2019/dsa-4529
- https://lists.debian.org/debian-lts-announce/2019/06/msg00003.html
- https://security-tracker.debian.org/tracker/CVE-2019-11038
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/
- https://github.com/libgd/libgd/issues/501
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1724149
- https://bugzilla.redhat.com/show_bug.cgi?id=1724432
- https://access.redhat.com/errata/RHSA-2019:2519
- https://access.redhat.com/errata/RHSA-2019:3299
- https://usn.ubuntu.com/4316-1/
- https://usn.ubuntu.com/4316-2/
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-11038
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/