CVE-2024-21508

CRITICAL9.8EPSS 46.2%

mysql2 Remote Code Execution (RCE) via the readCodeFor function

Published: 4/11/2024Modified: 2/4/2026
Also known as:GHSA-fpw7-j2hg-69v5CGA-7hf3-459p-8m86

Description

Versions of the package mysql2 before 3.9.4 are vulnerable to Remote Code Execution (RCE) via the `readCodeFor` function due to improper validation of the `supportBigNumbers` and `bigNumberStrings` values.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (8)