CVE-2024-21511

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.
Configurations

No configuration.

History

21 Nov 2024, 08:54

Type Values Removed Values Added
References () https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713 - () https://github.com/sidorares/node-mysql2/commit/7d4b098c7e29d5a6cb9eac2633bfcc2f0f1db713 -
References () https://github.com/sidorares/node-mysql2/pull/2608 - () https://github.com/sidorares/node-mysql2/pull/2608 -
References () https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7 - () https://github.com/sidorares/node-mysql2/releases/tag/v3.9.7 -
References () https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046 - () https://security.snyk.io/vuln/SNYK-JS-MYSQL2-6670046 -

23 Apr 2024, 12:52

Type Values Removed Values Added
Summary
  • (es) Las versiones del paquete mysql2 anteriores a la 3.9.7 son vulnerables a la inyección de código arbitrario debido a una sanitización inadecuada del parámetro de zona horaria en la función readCodeFor al llamar a una función de fecha/hora nativa del servidor MySQL.

23 Apr 2024, 05:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-23 05:15

Updated : 2024-11-21 08:54


NVD link : CVE-2024-21511

Mitre link : CVE-2024-21511

CVE.ORG link : CVE-2024-21511


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')