Name | CVE-2017-9831 |
Description | An integer overflow vulnerability in the ptp_unpack_EOS_CustomFuncEx function of the ptp-pack.c file of libmtp (version 1.1.12 and below) allows attackers to cause a denial of service (out-of-bounds memory access) or maybe remote code execution by inserting a mobile device into a personal computer through a USB cable. |
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-1029-1, DLA-2169-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
libmtp (PTS) | bullseye | 1.1.17-3 | fixed |
| bookworm | 1.1.20-1 | fixed |
| sid, trixie | 1.1.21-4 | fixed |
The information below is based on the following data on fixed versions.
Notes
https://sourceforge.net/p/libmtp/mailman/message/35735992/
https://sourceforge.net/p/libmtp/code/ci/aa7d91a789873a9d86969028e57f888a1241c085/
reduced patchset: https://lists.debian.org/87lgnzvjvb.fsf@curie.anarc.at