~ / search / GHSA-fpw7-j2hg-69v5

GHSA-fpw7-j2hg-69v5

mysql2 Remote Code Execution (RCE) via the readCodeFor function

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-21508

Packages

EcosystemPackageAffectedFixed in
npm mysql2 < 3.9.4 3.9.4

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.