CRITICAL 9.8 npm

mysql2 Remote Code Execution (RCE) via the readCodeFor function

GHSA-fpw7-j2hg-69v5 · CVE-2024-21508

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes