Out-of-bounds Write Affecting gnulib package, versions <20140202stable-2deb8u1build0.18.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.46% (76th 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-UBUNTU1804-GNULIB-265126
  • published3 Oct 2018
  • disclosed3 Oct 2018

Introduced: 3 Oct 2018

CVE-2018-17942  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:18.04 gnulib to version 20140202stable-2deb8u1build0.18.04.1 or higher.

NVD Description

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

The convert_to_decimal function in vasnprintf.c in Gnulib before 2018-09-23 has a heap-based buffer overflow because memory is not allocated for a trailing '\0' character during %f processing.