CVE-2024-21511 Affecting sqlpad package, versions <7.4.1-r4


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-SQLPAD-6836481
  • published11 May 2024
  • disclosed23 Apr 2024

Introduced: 23 Apr 2024

CVE-2024-21511  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade Chainguard sqlpad to version 7.4.1-r4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream sqlpad package and not the sqlpad package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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.