Advisory Database
  • Advisories
  • Dependency Scanning
  1. swift
  2. ›
  3. github.com/facebook/zstd
  4. ›
  5. CVE-2022-4899

CVE-2022-4899: zstd vulnerable to buffer overrun

March 31, 2023 (updated November 19, 2024)

A vulnerability was found in zstd v1.4.10, where an attacker can supply an empty string as an argument to the command line tool to cause buffer overrun.

References

  • github.com/advisories/GHSA-5c9c-6x87-f9vm
  • github.com/facebook/zstd
  • github.com/facebook/zstd/issues/3200
  • github.com/facebook/zstd/pull/3220
  • github.com/pypa/advisory-database/tree/main/vulns/zstd/PYSEC-2023-121.yaml
  • github.com/sergey-dryabzhinsky/python-zstd/commit/c8a619aebdbd6b838fbfef6e19325a70f631a4c6
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/C63HAGVLQA6FJNDCHR7CNZZL6VSLILB2
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JEHRBBYYTPA4DETOM5XAKGCP37NUTLOA
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QYLDK6ODVC4LJSDULLX6Q2YHTFOWABCN
  • nvd.nist.gov/vuln/detail/CVE-2022-4899
  • security.netapp.com/advisory/ntap-20230725-0005

Detect and mitigate CVE-2022-4899 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.4

Fixed versions

  • 1.5.4

Solution

Upgrade to version 1.5.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

swift/github.com/facebook/zstd/CVE-2022-4899.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.