Name | CVE-2019-17178 |
Description | HuffmanTree_makeFromFrequencies in lodepng.c in LodePNG through 2019-09-28, as used in WinPR in FreeRDP and other products, has a memory leak because a supplied realloc pointer (i.e., the first argument to realloc) is also used for a realloc return value. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
freerdp (PTS) | jessie, jessie (lts) | 1.1.0~git20140921.1.440916e+dfsg1-13~deb8u3 | vulnerable |
| stretch (security) | 1.1.0~git20140921.1.440916e+dfsg1-13+deb9u4 | fixed |
| stretch (lts), stretch | 1.1.0~git20140921.1.440916e+dfsg1-13+deb9u6 | fixed |
freerdp2 (PTS) | buster (security), buster, buster (lts) | 2.3.0+dfsg1-2+deb10u4 | fixed |
| bullseye | 2.3.0+dfsg1-2+deb11u1 | fixed |
| bookworm | 2.10.0+dfsg1-1 | fixed |
| sid, trixie | 2.11.7+dfsg1-4 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
freerdp | source | jessie | (unfixed) | end-of-life | | |
freerdp | source | stretch | (not affected) | | | |
freerdp | source | (unstable) | (unfixed) | | | |
freerdp2 | source | buster | 2.0.0~git20190204.1.2693389a+dfsg1-1+deb10u1 | | | |
freerdp2 | source | (unstable) | 2.0.0~git20190204.1.2693389a+dfsg1-2 | | | |
Notes
[stretch] - freerdp <not-affected> (Vulnerable code not present)
https://github.com/FreeRDP/FreeRDP/issues/5645
https://github.com/FreeRDP/FreeRDP/commit/9fee4ae076b1ec97b97efb79ece08d1dab4df29a (v2.0.0)
Multiple source packages embed a copy of lodepng (openscad, tbb, mame, passage,
quakespasm, simbody, paraview, dart, drumgizmo, doxygen, love, libtcod, f
cubicsdr, nestopia, refind, zopfli, montage), but don't seem security-relevant
embedded from: https://github.com/FreeRDP/FreeRDP/commit/1c345834079f3c8b581204e36b0cf0f3c021c445 (2.0.0-beta1+android10)
to: https://github.com/FreeRDP/FreeRDP/commit/605b6b6233e52151d208b7faa87691533a857b07 (3.0.0-beta2)