Out-of-Bounds Affecting libpng-static package, versions <2:1.2.49-1.12.amzn1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.72% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN201803-LIBPNGSTATIC-1664063
  • published27 Sept 2021
  • disclosed29 May 2012

Introduced: 29 May 2012

CVE-2011-3048  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 libpng-static to version 2:1.2.49-1.12.amzn1 or higher.
This issue was patched in ALAS-2012-68.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libpng-static package and not the libpng-static package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The png_set_text_2 function in pngset.c in libpng 1.0.x before 1.0.59, 1.2.x before 1.2.49, 1.4.x before 1.4.11, and 1.5.x before 1.5.10 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted text chunk in a PNG image file, which triggers a memory allocation failure that is not properly handled, leading to a heap-based buffer overflow.

References

CVSS Scores

version 3.1