Integer overflow - CVE-2017-9831

 

Integer overflow - CVE-2017-9831

Published: June 24, 2017 / Updated: August 3, 2020


Vulnerability identifier: #VU33053
CSH Severity: Medium
CVSS v4: 7 [CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-9831
CWE-ID: CWE-190
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local non-authenticated attacker to execute arbitrary code.

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.


Affected software

libmtp (Alpine package)
libmtp11
libmtp
Fedora

How to mitigate CVE-2017-9831

Install update from vendor's website.

libmtp (Alpine package) - update to 1.1.13-r0
libmtp11 - update to 1.1.13-1.el6
libmtp - addressed in versions 1.1.13-1.fc24, 1.1.13-1.fc25, 1.1.13-1.fc26

External References

Related Security Bulletins