Improper Input Validation Affecting libXfont2 package, versions *


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.06% (30th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-LIBXFONT2-1976901
  • published26 Jul 2021
  • disclosed4 Oct 2017

Introduced: 4 Oct 2017

CVE-2017-13720  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 libXfont2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libXfont2 package and not the libXfont2 package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

In the PatternMatch function in fontfile/fontdir.c in libXfont through 1.5.2 and 2.x before 2.0.2, an attacker with access to an X connection can cause a buffer over-read during pattern matching of fonts, leading to information disclosure or a crash (denial of service). This occurs because '\0' characters are incorrectly skipped in situations involving ? characters.