Skip to main content

Improper Input Validation

CVE-2024-21507

Severity Medium
Score 6.9/10

Summary

The package mysql2 versions prior to 3.9.3 are vulnerable to Improper Input Validation through the "keyFromFields" function, resulting in cache poisoning. An attacker can inject a colon (:) character within a value of the attacker-crafted key.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-20 - Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

Advisory Timeline

  • Published