Out-of-bounds Read Affecting mysql-common package, versions <0:8.0.41-2.el9_5


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.06% (27th 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-ALMALINUX9-MYSQLCOMMON-8742917
  • published22 Feb 2025
  • disclosed19 Feb 2025

Introduced: 19 Feb 2025

NewCVE-2024-7264  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 mysql-common to version 0:8.0.41-2.el9_5 or higher.
This issue was patched in ALSA-2025:1671.

NVD Description

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

libcurl's ASN1 parser code has the GTime2str() function, used for parsing an ASN.1 Generalized Time field. If given an syntactically incorrect field, the parser might end up using -1 for the length of the time fraction, leading to a strlen() getting performed on a pointer to a heap buffer area that is not (purposely) null terminated.

This flaw most likely leads to a crash, but can also lead to heap contents getting returned to the application when CURLINFO_CERTINFO is used.

CVSS Scores

version 3.1