CVE-2017-20286
DevIL through 1.8.0 contains a heap-based buffer overflow in …
DevIL through 1.8.0 contains a heap-based buffer overflow in iGetPalette() in il_gif.cpp that allows attackers to write beyond a 768-byte palette buffer when loading GIF images. Attackers can supply a crafted two-frame GIF whose second frame uses disposal method 1 with a local colour table, writing up to 384 controlled bytes past the heap allocation and possibly executing code.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il
- github.com/DentonW/DevIL/blob/a2d9193fed0c7f93519c0c4c28b3348e0cb5759b/DevIL/src-IL/src/il
- github.com/DentonW/DevIL/issues/67
- hackmd.io/@haind-pwn/devil-gif-palette-reuse-heap-overflow
- www.vulncheck.com/advisories/devil-through-1.8.0-heap-buffer-overflow-via-gif-igetpalette
- nvd.nist.gov/vuln/detail/CVE-2017-20286
- cve.org/CVERecord?id=CVE-2017-20286
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.