Bug 2179864 (CVE-2022-4899)

Summary: CVE-2022-4899 zstd: mysql: buffer overrun in util.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: caswilli, hhorak, jamartis, jcapitao, jorton, kaycoth, ljavorsk, mschorm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mysql 8.0.34 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in zstd. This flaw allows an attacker to supply an empty string as an argument to the command line tool to cause a buffer overrun.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2179865, 2179866, 2179867, 2179870, 2179871, 2179872, 2231873, 2231874, 2231875, 2231876, 2231877    
Bug Blocks: 2165877, 2224223    

Description Dhananjay Arunesh 2023-03-20 10:07:47 UTC
A vulnerability was found in zstd v1.4.10, where an attacker can supply empty string as an argument to the command line tool to cause buffer overrun.

References:
https://github.com/facebook/zstd/issues/3200

Comment 1 Dhananjay Arunesh 2023-03-20 10:08:19 UTC
Created mingw-zstd tracking bugs for this issue:

Affects: fedora-all [bug 2179865]


Created zstd tracking bugs for this issue:

Affects: epel-7 [bug 2179867]
Affects: fedora-all [bug 2179866]

Comment 3 Avinash Hanwate 2023-03-20 10:13:42 UTC
Created zstd tracking bugs for this issue:

Affects: openstack-rdo [bug 2179872]

Comment 8 Joel Capitao 2024-02-15 09:40:10 UTC
It's fixed since 1.5.4 [1] but BaseOS provides zstd-1.5.1-2.el9

[1] https://github.com/facebook/zstd/pull/3220/commits/f9f27de91c89d826c6a39c3ef44fb1b02f9a43aa

Comment 9 errata-xmlrpc 2024-02-20 12:31:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:0894 https://access.redhat.com/errata/RHSA-2024:0894

Comment 10 errata-xmlrpc 2024-03-05 18:17:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1141 https://access.redhat.com/errata/RHSA-2024:1141

Comment 11 errata-xmlrpc 2024-04-30 16:50:58 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2024:2619 https://access.redhat.com/errata/RHSA-2024:2619

Comment 13 errata-xmlrpc 2024-05-30 20:25:09 UTC
This issue has been addressed in the following products:

  Red Hat AMQ Streams 2.7.0

Via RHSA-2024:3527 https://access.redhat.com/errata/RHSA-2024:3527