Lucene search

K
githubGitHub Advisory DatabaseGHSA-4RCH-2FH8-94VW
HistoryApr 23, 2024 - 6:30 a.m.

MySQL2 for Node Arbitrary Code Injection

2024-04-2306:30:47
CWE-94
GitHub Advisory Database
github.com
21
mysql2
node
arbitrarycodeinjection
vulnerable
impropersanitization
timezoneparameter
readcodeforfunction
mysqlserver
datetimefunction

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%

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.

Affected configurations

Vulners
Node
github_advisory_databasemysql2Range<3.9.7
CPENameOperatorVersion
mysql2lt3.9.7

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

7.2 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.5%