Incorrect Calculation of Buffer Size Affecting glibc package, versions <2.38-r11


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

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-WOLFILATEST-GLIBC-6219870
  • published31 Jan 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 Wolfi glibc to version 2.38-r11 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 Wolfi. See How to fix? for Wolfi 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