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-21507

16
FAUCET Score

CVE-2024-21507 affects versions of the 'mysql2' package prior to 3.9.3, specifically the 'sidorares mysql2' product. This vulnerability stems from improper input validation in the 'keyFromFields' function, allowing an attacker to inject a colon (:) character into a crafted key, leading to cache poisoning. Rated as Medium severity (CVSS 5.3), it has a low attack complexity and requires no user interaction, potentially impacting data integrity. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.9.3CPE 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:L/I:N/A:L

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

Exploit Intelligence

EPSS Score
0.74%
Probability of exploitation in next 30 days
EPSS Percentile
51.0%
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.0074 is in the 32nd 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.3

Vendor Advisories (2)

npmGHSA-mqr2-w7wj-jjgrmedium

mysql2 cache poisoning vulnerability

Apr 10, 2024
redhatCVE-2024-21507Moderate

mysql2: Improper Input Validation

Apr 10, 2024

References

blog.slonser.info / posts/mysql2-attacker-configuration
ExploitPermissions Required
github.com / sidorares/node-mysql2/commit/0d54b0ca6498c823098426038162ef10df02c818
Patch
github.com / sidorares/node-mysql2/pull/2424
ExploitIssue Tracking
security.snyk.io / vuln/SNYK-JS-MYSQL2-6591300
ExploitThird Party Advisory