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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fpw7-j2hg-69v5 mysql2 Remote Code Execution (RCE) via the readCodeFor function
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.49201}

epss

{'score': 0.33331}


cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-08-01T22:20:40.908Z

Reserved: 2023-12-22T12:33:20.119Z

Link: CVE-2024-21508

cve-icon Vulnrichment

Updated: 2024-08-01T22:20:40.908Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-11T05:15:47.263

Modified: 2024-11-21T08:54:34.803

Link: CVE-2024-21508

cve-icon Redhat

Severity : Important

Publid Date: 2024-04-11T00:00:00Z

Links: CVE-2024-21508 - Bugzilla

cve-icon OpenCVE Enrichment

No data.