Read the docs
TI-2024-14264 Aliases CVE-2024-21508GHSA-fpw7-j2hg-69v5

Code injection in mysql2

Priority MEDIUM 54CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.02554 85th percentileScored 2026-11-07
Fix Fixed mysql2: 3.9.4mysql2 (npm): 3.9.4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—mysql2before 3.9.43.9.4Patch availableCNA
—mysql2 (npm)before 3.9.43.9.4Patch availableGHSA-fpw7-j2hg-69v5
  • mysql2 Vendor— Affected before 3.9.4 Fixed in 3.9.4 Patch available CNA
  • mysql2 (npm) Vendor— Affected before 3.9.4 Fixed in 3.9.4 Patch available GHSA-fpw7-j2hg-69v5

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:mysql2:mysql2:-:*:*:*:*:*:*:*not specified by CISA-ADP——
  • cpe:2.3:a:mysql2:mysql2:-:*:*:*:*:*:*:* Versions not specified by CISA-ADP — ·—

Remediation

  • Fix · CNA mysql2 Fixed in 3.9.4
  • Fix · GHSA-fpw7-j2hg-69v5 mysql2 (npm) Fixed in 3.9.4 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Developer Hub 1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-21508
  2. 2026-10-03 Alias added: GHSA-fpw7-j2hg-69v5
  3. 2026-10-27 Affected versions changed · Red Hat

References

Sources