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.
Published: 2024-04-11
Score: 9.8 Critical
EPSS: 2.6% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-fpw7-j2hg-69v5 mysql2 Remote Code Execution (RCE) via the readCodeFor function
History

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

Type Values Removed Values Added
Metrics epss

{'score': 0.49201}

epss

{'score': 0.33331}


Subscriptions

No data.

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 : Deferred

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

Modified: 2026-06-17T07:09:38.450

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.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')