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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.51% (77th 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-2334918
  • published12 Jan 2022
  • disclosed16 Aug 2021
  • creditUnknown

Introduced: 16 Aug 2021

CVE-2021-22939  (opens in a new tab)
CWE-295  (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 Certificate Validation. If the Node.js https API was used incorrectly and "undefined" was in passed for the "rejectUnauthorized" parameter, no error was returned and connections to servers with an expired certificate would have been accepted.

References

CVSS Scores

version 3.1