Improper Input Validation Affecting mysql package, versions [,5.0.88)[5.1.0,5.1.41)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.74% (81st 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-2334035
  • published12 Jan 2022
  • disclosed30 Nov 2009
  • creditUnknown

Introduced: 30 Nov 2009

CVE-2009-4028  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade mysql to version 5.0.88, 5.1.41 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation. The vio_verify_callback function in viosslfactories.c in MySQL 5.0.x before 5.0.88 and 5.1.x before 5.1.41, when OpenSSL is used, accepts a value of zero for the depth of X.509 certificates, which allows man-in-the-middle attackers to spoof arbitrary SSL-based MySQL servers via a crafted certificate, as demonstrated by a certificate presented by a server linked against the yaSSL library.

References

CVSS Scores

version 3.1