Name | CVE-2017-7376 |
Description | Buffer overflow in libxml2 allows remote attackers to execute arbitrary code by leveraging an incorrect limit for port values when handling redirects. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1060-1, DSA-3952-1 |
Debian Bugs | 870865 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libxml2 (PTS) | bullseye | 2.9.10+dfsg-6.7+deb11u4 | fixed |
| bullseye (security) | 2.9.10+dfsg-6.7+deb11u5 | fixed |
| bookworm | 2.9.14+dfsg-1.3~deb12u1 | fixed |
| sid, trixie | 2.12.7+dfsg+really2.9.14-0.2 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://bugzilla.gnome.org/show_bug.cgi?id=780690 (not yet public)
Android patch: https://android.googlesource.com/platform/external/libxml2/+/51e0cb2e5ec18eaf6fb331bc573ff27b743898f4
Fix upstream: https://gitlab.gnome.org/GNOME/libxml2/-/commit/5dca9eea1bd4263bfa4d037ab2443de1cd730f7e
The upstream patch has the slight consequence that some port values end up
negative when cast to a 32-bit int. A negative port though in the URL would
make the URL invalid. It is discussed if instead it would be best to prevent
the port from ever being negative. Upstream decided to leave the above patch.