synced JUST NOW
01 Record

CVE-2024-21508

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.

CriticalPUBLISHEDCNA: snyk
CNA base score9.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P

02 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.

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
2.55% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 84.6% of scored records. A rank, not a probability.
NVD base score
9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-04-11 05:00Z2 YR AGO
Last updated
2024-08-01 22:20Z2 YR AGO
Reserved
2023-12-22
Assigning CNA
snyk
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Weaknesses
  • CWE-94Improper Control of Generation of Code ('Code Injection')Base
Data version
5.1
Document digest
cdf7b49abfc0d3b40d6aaec8598d416663ef87b2027d8fcd8a5b06d9c6fb0c69

05 Affected products

VendorProductVersionsPlatforms
n/amysql20 to < 3.9.4—
mysql2mysql20 to < 3.9.4—

06 References