Heap-based Buffer Overflow Affecting collectd-mysql package, versions <0:5.4.1-1.11.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
4.81% (93rd 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-COLLECTDMYSQL-1701664
  • published27 Sept 2021
  • disclosed19 Aug 2016

Introduced: 19 Aug 2016

CVE-2016-6254  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2018.03 collectd-mysql to version 0:5.4.1-1.11.amzn1 or higher.
This issue was patched in ALAS-2016-739.

NVD Description

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

Heap-based buffer overflow in the parse_packet function in network.c in collectd before 5.4.3 and 5.x before 5.5.2 allows remote attackers to cause a denial of service (daemon crash) or possibly execute arbitrary code via a crafted network packet.