Memory corruption in ZZIPlib - CVE-2018-6381
Published: April 5, 2018
Vulnerability identifier: #VU11550
CSH Severity: Low
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-6381
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to cause DoS condition on the target system.
The weakness exists in the zzip_disk_fread function in zzip/mmapped.c due to the size variable is not validated against the amount of file->stored data. A remote attacker can trigger memory corruption and cause the service to crash.
The weakness exists in the zzip_disk_fread function in zzip/mmapped.c due to the size variable is not validated against the amount of file->stored data. A remote attacker can trigger memory corruption and cause the service to crash.
Affected software
ZZIPlib
Arch Linux
Ubuntu
Fedora
libzzip-0-13 (Ubuntu package)
zziplib
Arch Linux
Ubuntu
Fedora
libzzip-0-13 (Ubuntu package)
zziplib
How to mitigate CVE-2018-6381
Update to version 0.13.68.
libzzip-0-13 (Ubuntu package) - addressed in versions 0.13.62-2ubuntu0.2, 0.13.62-3ubuntu0.16.04.2, 0.13.62-3.1ubuntu0.17.10.1, 0.13.62-3.1ubuntu0.18.04.1
zziplib - update to 0.13.67-1.fc27
zziplib - update to 0.13.67-1.fc27