Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. libpng
  4. ›
  5. CVE-2021-4214

CVE-2021-4214: Out-of-bounds Write

August 24, 2022 (updated November 8, 2022)

A heap overflow flaw was found in libpngs’ pngimage.c program. This flaw allows an attacker with local network access to pass a specially crafted PNG file to the pngimage utility, causing an application to crash, leading to a denial of service.

References

  • access.redhat.com/security/cve/CVE-2021-4214
  • bugzilla.redhat.com/show_bug.cgi?id=2043393
  • github.com/glennrp/libpng/issues/302
  • nvd.nist.gov/vuln/detail/CVE-2021-4214
  • security-tracker.debian.org/tracker/CVE-2021-4214

Code Behaviors & Features

Detect and mitigate CVE-2021-4214 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

Version 1.6.0

Fixed versions

  • 1.6.18.1

Solution

Upgrade to version 1.6.18.1 or above.

Impact 5.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Source file

nuget/libpng/CVE-2021-4214.yml

Spotted a mistake? Edit the file on GitLab.

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

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