Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-21511

Quick assessment

Affected
n/a mysql2
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

MySQL2是Andrey Sidorov个人开发者的一个 Node.js 的 MySQL 客户端。 mysql2 2 3.9.7 之前版本存在安全漏洞,该漏洞源于通过调用本机 MySQL 服务器 date/time 函数对 readCodeFor 函数中的 timezone 参数进行了不正确的清理,导致任意代码注入。

CVSS 9.8 · Critical EPSS 1.03% · P63

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-21511

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
N/A
Source: CVE Program / CVE List V5
Vulnerability Description
Versions of the package mysql2 before 3.9.7 are vulnerable to Arbitrary Code Injection due to improper sanitization of the timezone parameter in the readCodeFor function by calling a native MySQL Server date/time function.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
mysql2 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
MySQL2是Andrey Sidorov个人开发者的一个 Node.js 的 MySQL 客户端。 mysql2 2 3.9.7 之前版本存在安全漏洞,该漏洞源于通过调用本机 MySQL 服务器 date/time 函数对 readCodeFor 函数中的 timezone 参数进行了不正确的清理,导致任意代码注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Shenlong Deep Dive — AI Deep Analysis

10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.

Affected Products

Vendor Product Affected Versions CPE Subscribe
- mysql2 0 ~ 3.9.7 -

II. Public POCs for CVE-2024-21511

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7664 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2024-21511

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-21511 (2)

Vendor Advisories for CVE-2024-21511 (1)

Other References for CVE-2024-21511 (1)

Same Patch Batch · n/a · 2024-04-23 · 15 CVEs total

CVE-2024-30800 PX4 Drone Autopilot 安全漏洞
CVE-2024-30886 HadSky 跨站脚本漏洞
CVE-2024-28627 Flipsnack 安全漏洞
CVE-2024-32258 fceux 路径遍历漏洞
CVE-2024-31616 Ruijie Networks RG-RSR10-01G-T 安全漏洞
CVE-2024-31804 Terratec DMX 6Fire 安全漏洞
CVE-2024-33211 Tenda FH1206 安全漏洞
CVE-2024-33215 Tenda FH1206 安全漏洞
CVE-2024-33217 Tenda FH1206 安全漏洞
CVE-2024-33214 Tenda FH1206 安全漏洞
CVE-2024-33212 Tenda FH1206 安全漏洞
CVE-2024-33213 Tenda FH1206 安全漏洞
CVE-2023-48184 QuickJS 安全漏洞
CVE-2023-48183 QuickJS 安全漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2024-21511

No comments yet


Leave a comment