#VU74201 Buffer overflow in Zstandard


Published: 2023-03-30

Vulnerability identifier: #VU74201

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-4899

CWE-ID: CWE-119

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Zstandard
Universal components / Libraries / Libraries used by multiple products

Vendor: Facebook Inc.

Description

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

The vulnerability exists due to a boundary error in util.c when processing empty arguments in the command line tool. A remote attacker can pass an empty string as an argument, trigger buffer underflow and crash the application.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Zstandard: 1.4.0 - 1.4.10, 1.5.0 - 1.5.2, 1.3.0 - 1.3.8, 1.2.0, 1.1.0 - 1.1.4, 1.0.0


External links
http://github.com/facebook/zstd/pull/3220
http://bugzilla.redhat.com/show_bug.cgi?id=2179864
http://bugzilla.suse.com/show_bug.cgi?id=1209533


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability