Prototype Pollution in Mysql2

CVE-2024-21512

Versions of the package mysql2 before 3.9.8 are vulnerable to Prototype Pollution due to improper user input sanitization passed to fields and tables when using nestTables.

Vulnerability class: Prototype Pollution

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L.

EPSS exploit prediction

EPSS: 0.031 (87.4th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 87th percentile — 87.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-21512: held from 0.031 to 0.031.

EPSS over last 30 days · oldest: 0.031 · newest: 0.031 · change: 0.000

Affected products

  • Mysql2 — versions 0
  • Org.webjars.npm:mysql2 — versions 0

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-21512?
CVE-2024-21512 is a high-severity vulnerability in Mysql2, classified under Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution). CVSS score: 8.2/10. Published 2024-05-29.
How severe is CVE-2024-21512?
High severity. CVSS v3 base score is 8.2 out of 10.
Is CVE-2024-21512 known to be exploited?
21 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.