Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-21509

23
FAUCET Score

CVE-2024-21509 is a Prototype Poisoning vulnerability affecting versions of the 'mysql2' package prior to 3.9.4, stemming from insecure results object creation and improper user input sanitization in its parsers. This medium-severity vulnerability (CVSS 6.5) can be exploited remotely with low attack complexity, potentially leading to limited integrity and availability impacts. Currently, there is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.9.4CPE matchmatch criteria
cpe:2.3:a:sidorares:mysql2:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.5MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
NONE
Integrity Impact
LOW
Availability Impact
LOW
Exploitability Score
3.9
Impact Score
2.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.95%
Probability of exploitation in next 30 days
EPSS Percentile
57.8%
Percentile rank of EPSS score among Peer Group
As of 2026-07-28
Model: v2026.06.15
This CVE's current EPSS score of 0.0095 is in the 36th percentile among its peer group of 23,725 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.4 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: mysql2Fixed in: 3.9.4

Vendor Advisories (2)

npmGHSA-49j4-86m8-q2jwmedium

mysql2 vulnerable to Prototype Poisoning

Apr 10, 2024
redhatCVE-2024-21509Moderate

mysql2: Prototype Poisoning

Apr 10, 2024

References

blog.slonser.info / posts/mysql2-attacker-configuration
ExploitPermissions Required
github.com / sidorares/node-mysql2/blob/fd3d117da82cc5c5fa5a3701d7b33ca77691bc61/lib/parsers/text_parser.js%23L134
Broken Link
github.com / sidorares/node-mysql2/commit/4a964a3910a4b8de008696c554ab1b492e9b4691
Patch
github.com / sidorares/node-mysql2/pull/2574
ExploitIssue Tracking
github.com / sidorares/node-mysql2/releases/tag/v3.9.4
Release Notes
security.snyk.io / vuln/SNYK-JS-MYSQL2-6591084
ExploitThird Party Advisory