synced 14 MIN AGO
01 Record

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.

HighPUBLISHEDCNA: snyk
CNA base score8.2 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P

02 Description

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.

03 Exploitation and scoring

Exploitation
Public exploit code exists. CISA's assessment records a public proof of concept. That is not a report of exploitation in the wild.
SSVC decision
  • ExploitationpocPublic proof-of-concept exploit code exists. Not a report of exploitation in the wild.
  • AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
  • Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
3.13% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 87.5% of scored records. A rank, not a probability.
NVD base score
8.2 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L
NVD analysis status
Deferred. NVD last modified this record on 2026-06-17.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2024-05-29 05:00Z2 YR AGO
Last updated
2024-08-01 22:20Z2 YR AGO
Reserved
2023-12-22
Assigning CNA
snyk
Record state
PUBLISHED
Severity
High (CVSS 8.2)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P
Weaknesses
  • CWE-1321Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')Variant
Data version
5.1
Document digest
2c16ab9e368d2d323a712c158650a5161d5cced02fd9eb2ba0e78ed37ac810d6

05 Affected products

VendorProductVersionsPlatforms
n/amysql20 to < 3.9.8—
mysql2mysql20 to < 3.9.8—

06 References