Incorrect Calculation of Buffer Size Affecting glibc package, versions <2.39-0ubuntu1


Severity

Recommended
0.0
medium
0
10

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.09% (42nd 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-UBUNTU2404-GLIBC-6695992
  • published29 Apr 2024
  • disclosed31 Jan 2024

Introduced: 31 Jan 2024

CVE-2023-6780  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.04 glibc to version 2.39-0ubuntu1 or higher.

NVD Description

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

An integer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when these functions are called with a very long message, leading to an incorrect calculation of the buffer size to store the message, resulting in undefined behavior. This issue affects glibc 2.37 and newer.

CVSS Scores

version 3.1