Resource exhaustion in Rubyzip - CVE-2019-16892

 

Resource exhaustion in Rubyzip - CVE-2019-16892

Published: February 10, 2020 / Updated: February 10, 2020


Vulnerability identifier: #VU25104
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16892
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the data about the uncompressed size can be spoofed. A remote attacker can send a specially crafted ZIP file, bypass application checks on ZIP entry sizes, trigger resource exhaustion and perform a denial of service (DoS) attack.


Affected software

Rubyzip
GitLab Enterprise Edition
openEuler
Fedora
rubygem-rubyzip
rubygem-rubyzip-doc

How to mitigate CVE-2019-16892

Install updates from vendor's website.

Rubyzip - update to 1.3.0
GitLab Enterprise Edition - addressed in versions 12.5.9, 12.6.6, 12.7.4
rubygem-rubyzip - addressed in versions 1.1.7-10.fc29, 1.1.7-10.fc30, 1.1.7-10.fc31
rubygem-rubyzip - update to 2.0.0-1
rubygem-rubyzip-doc - update to 2.0.0-1

External References

Related Security Bulletins