CVE-2017-7376

NameCVE-2017-7376
DescriptionIncorrect limit used for port values
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1060-1, DSA-3952-1
Debian Bugs870865

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libxml2 (PTS)wheezy2.8.0+dfsg1-7+wheezy5vulnerable
wheezy (security)2.8.0+dfsg1-7+wheezy9fixed
jessie2.9.1+dfsg1-5+deb8u4vulnerable
jessie (security)2.9.1+dfsg1-5+deb8u5fixed
stretch (security), stretch2.9.4+dfsg1-2.2+deb9u1fixed
buster2.9.4+dfsg1-5fixed
sid2.9.4+dfsg1-5.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libxml2source(unstable)2.9.4+dfsg1-3.1870865
libxml2sourcejessie2.9.1+dfsg1-5+deb8u5DSA-3952-1
libxml2sourcestretch2.9.4+dfsg1-2.2+deb9u1DSA-3952-1
libxml2sourcewheezy2.8.0+dfsg1-7+wheezy9DLA-1060-1

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://git.gnome.org/browse/libxml2/commit/?id=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.

Search for package or bug name: Reporting problems