Out-of-Bounds Affecting texlive-dvipng package, versions <2:svn26689.1.14-38.amzn2.0.5


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.23% (62nd 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-AMZN2-TEXLIVEDVIPNG-1682354
  • published27 Sept 2021
  • disclosed23 Sept 2018

Introduced: 23 Sep 2018

CVE-2018-17407  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 texlive-dvipng to version 2:svn26689.1.14-38.amzn2.0.5 or higher.
This issue was patched in ALAS2-2020-1461.

NVD Description

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

An issue was discovered in t1_check_unusual_charstring functions in writet1.c files in TeX Live before 2018-09-21. A buffer overflow in the handling of Type 1 fonts allows arbitrary code execution when a malicious font is loaded by one of the vulnerable tools: pdflatex, pdftex, dvips, or luatex.