Use After Free Affecting gettext-devel package, versions <0:0.19.8.1-3.el7


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
4.26% (91st 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-RHEL7-GETTEXTDEVEL-1522988
  • published26 Jul 2021
  • disclosed28 Oct 2018

Introduced: 28 Oct 2018

CVE-2018-18751  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade RHEL:7 gettext-devel to version 0:0.19.8.1-3.el7 or higher.
This issue was patched in RHSA-2020:1138.

NVD Description

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

An issue was discovered in GNU gettext 0.19.8. There is a double free in default_add_message in read-catalog.c, related to an invalid free in po_gram_parse in po-gram-gen.y, as demonstrated by lt-msgfmt.