Bug 1769540 (CVE-2019-17534) - CVE-2019-17534 vips: use-after-free in vips_foreign_load_gif_scan_image in foreign/gifload.c
Summary: CVE-2019-17534 vips: use-after-free in vips_foreign_load_gif_scan_image in fo...
Keywords:
Status: CLOSED RAWHIDE
Alias: CVE-2019-17534
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1769541 1769542
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-06 20:11 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-04-25 19:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-08 04:32:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2019-11-06 20:11:40 UTC
vips_foreign_load_gif_scan_image in foreign/gifload.c in libvips before 8.8.2 tries to access a color map before a DGifGetImageDesc call, leading to a use-after-free.

References:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16796
https://github.com/libvips/libvips/commit/ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d

Comment 1 Guilherme de Almeida Suckevicz 2019-11-06 20:11:55 UTC
Created vips tracking bugs for this issue:

Affects: fedora-29 [bug 1769541]
Affects: fedora-30 [bug 1769542]

Comment 2 Benjamin Gilbert 2019-12-06 06:18:37 UTC
F29 is EOL, F30 is unaffected, and F31/rawhide are patched.

Comment 3 Kleis Auke Wolthuizen 2020-04-25 19:35:23 UTC
For further readers; the data in NVD is incorrect. This vulnerability was only present on the libvips master branch for about 24 hours and was never included in a released version.

Please see:
https://github.com/libvips/libvips/commit/ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d#commitcomment-36619649
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16796#c4


Note You need to log in before you can comment on or make changes to this bug.