SCA: security update for mysql2 (GHSA-4rch-2fh8-94vw)

critical Tenable Self-Hosted Container Security Plugin ID 410373

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-21511)

See Also

https://github.com/advisories/GHSA-4rch-2fh8-94vw

Plugin Details

Severity: Critical

ID: 410373

Version: Revision 1.12

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.73

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-21511

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/23/2024

Vulnerability Publication Date: 4/23/2024

Reference Information

CVE: CVE-2024-21511

cwe: CWE-94