CVE Vulnerabilities

CVE-2022-4899

Uncontrolled Resource Consumption

Published: Mar 31, 2023 | Modified: Feb 18, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
LOW

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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Zstandard Facebook 1.4.10 (including) 1.4.10 (including)
Red Hat AMQ Streams 2.7.0 RedHat *
Red Hat Enterprise Linux 8 RedHat mysql:8.0-8090020240126173013.a75119d5 *
Red Hat Enterprise Linux 9 RedHat mysql-0:8.0.36-1.el9_3 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-mysql80-mysql-0:8.0.36-1.el7 *
Libzstd Ubuntu jammy *
Libzstd Ubuntu kinetic *
Libzstd Ubuntu trusty *
Libzstd Ubuntu upstream *
Libzstd Ubuntu xenial *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References