Bug 2283737 (CVE-2024-21512) - CVE-2024-21512 mysql2:vulnerable to Prototype Pollution due to improper user input sanitization
Summary: CVE-2024-21512 mysql2:vulnerable to Prototype Pollution due to improper user ...
Keywords:
Status: NEW
Alias: CVE-2024-21512
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2283738
Blocks: 2283736
TreeView+ depends on / blocked
 
Reported: 2024-05-29 06:30 UTC by Rohit Keshri
Modified: 2025-06-30 08:27 UTC (History)
5 users (show)

Fixed In Version: MySQL2 3.9.8
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Rohit Keshri 2024-05-29 06:30:20 UTC
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.

https://gist.github.com/domdomi3/e9f0f9b9b1ed6bfbbc0bea87c5ca1e4a
https://github.com/sidorares/node-mysql2/commit/efe3db527a2c94a63c2d14045baba8dfefe922bc
https://github.com/sidorares/node-mysql2/pull/2702
https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6861580

Comment 1 Rohit Keshri 2024-05-29 06:31:02 UTC
Created rubygem-acts_as_list tracking bugs for this issue:

Affects: fedora-all [bug 2283738]


Note You need to log in before you can comment on or make changes to this bug.