Race condition in Zstandard



| Updated: 2019-08-12
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-11922
CWE-ID CWE-362
Exploitation vector Network
Public exploit N/A
Vulnerable software
Zstandard
Universal components / Libraries / Libraries used by multiple products

Vendor Facebook Inc.

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Race condition

EUVDB-ID: #VU20060

Risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2019-11922

CWE-ID: CWE-362 - Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Exploit availability: No

Description

The vulnerability allows an attacker to execute arbitrary code on the target system.

The vulnerability exists due to a race condition in the one-pass compression functions. A remote attacker can exploit the race and write bytes out of bounds if an output buffer smaller than the recommended size was used.

Successful exploitation of the vulnerability may allow an attacker to execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Zstandard: 1.3.0 - 1.3.7

CPE2.3 External links

https://github.com/facebook/zstd/pull/1404/commits/3e5cdf1b6a85843e991d7d10f6a2567c15580da0
https://www.facebook.com/security/advisories/cve-2019-11922


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.



###SIDEBAR###