Improper Input Validation Affecting mysql package, versions [,8.0.27)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
2.29% (90th 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-UNMANAGED-MYSQL-2334917
  • published12 Jan 2022
  • disclosed16 Aug 2021
  • creditUnknown

Introduced: 16 Aug 2021

CVE-2021-22931  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade mysql to version 8.0.27 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.

References

CVSS Scores

version 3.1