usn-5270-1
Vulnerability from osv_ubuntu
Published
2022-02-03 12:01
Modified
2026-04-27 14:11
Summary
mysql-5.7, mysql-8.0 vulnerabilities
Details

Multiple security issues were discovered in MySQL and this update includes new upstream MySQL versions to fix these issues.

MySQL has been updated to 8.0.28 in Ubuntu 20.04 LTS and Ubuntu 21.10. Ubuntu 18.04 LTS has been updated to MySQL 5.7.37.

In addition to security fixes, the updated packages contain bug fixes, new features, and possibly incompatible changes.

Please see the following for more information:

https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-37.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html https://www.oracle.com/security-alerts/cpujan2022.html


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-21245",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21270",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21303",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21304",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21344",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21367",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libmysqlclient20",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-client",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-client-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-client-core-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-server",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-server-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-server-core-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-source-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-testsuite",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          },
          {
            "binary_name": "mysql-testsuite-5.7",
            "binary_version": "5.7.37-0ubuntu0.18.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "mysql-5.7",
        "purl": "pkg:deb/ubuntu/mysql-5.7@5.7.37-0ubuntu0.18.04.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.7.37-0ubuntu0.18.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.7.19-0ubuntu1",
        "5.7.20-0ubuntu0.17.10.1",
        "5.7.20-1ubuntu1",
        "5.7.21-1ubuntu1",
        "5.7.22-0ubuntu18.04.1",
        "5.7.23-0ubuntu0.18.04.1",
        "5.7.24-0ubuntu0.18.04.1",
        "5.7.25-0ubuntu0.18.04.2",
        "5.7.26-0ubuntu0.18.04.1",
        "5.7.27-0ubuntu0.18.04.1",
        "5.7.28-0ubuntu0.18.04.4",
        "5.7.29-0ubuntu0.18.04.1",
        "5.7.30-0ubuntu0.18.04.1",
        "5.7.31-0ubuntu0.18.04.1",
        "5.7.32-0ubuntu0.18.04.1",
        "5.7.33-0ubuntu0.18.04.1",
        "5.7.34-0ubuntu0.18.04.1",
        "5.7.35-0ubuntu0.18.04.1",
        "5.7.35-0ubuntu0.18.04.2",
        "5.7.36-0ubuntu0.18.04.1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2022-21245",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21249",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21253",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21254",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21256",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21264",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21265",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21270",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21301",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21302",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21303",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21304",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21339",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21342",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21344",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21348",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21351",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21358",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21362",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21367",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21368",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21370",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21372",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:L",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21374",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21378",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2022-21379",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libmysqlclient21",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-client",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-client-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-client-core-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-router",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-server",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-server-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-server-core-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-source-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-testsuite",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          },
          {
            "binary_name": "mysql-testsuite-8.0",
            "binary_version": "8.0.28-0ubuntu0.20.04.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "mysql-8.0",
        "purl": "pkg:deb/ubuntu/mysql-8.0@8.0.28-0ubuntu0.20.04.3?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8.0.28-0ubuntu0.20.04.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "8.0.17-0ubuntu2",
        "8.0.17-0ubuntu3",
        "8.0.18-0ubuntu3",
        "8.0.18-0ubuntu4",
        "8.0.18-0ubuntu5",
        "8.0.19-0ubuntu2",
        "8.0.19-0ubuntu3",
        "8.0.19-0ubuntu4",
        "8.0.19-0ubuntu5",
        "8.0.20-0ubuntu0.20.04.1",
        "8.0.21-0ubuntu0.20.04.3",
        "8.0.21-0ubuntu0.20.04.4",
        "8.0.22-0ubuntu0.20.04.2",
        "8.0.22-0ubuntu0.20.04.3",
        "8.0.23-0ubuntu0.20.04.1",
        "8.0.25-0ubuntu0.20.04.1",
        "8.0.26-0ubuntu0.20.04.2",
        "8.0.26-0ubuntu0.20.04.3",
        "8.0.27-0ubuntu0.20.04.1"
      ]
    }
  ],
  "aliases": [],
  "details": "Multiple security issues were discovered in MySQL and this update includes\nnew upstream MySQL versions to fix these issues.\n\nMySQL has been updated to 8.0.28 in Ubuntu 20.04 LTS and Ubuntu 21.10.\nUbuntu 18.04 LTS has been updated to MySQL 5.7.37.\n\nIn addition to security fixes, the updated packages contain bug fixes, new\nfeatures, and possibly incompatible changes.\n\nPlease see the following for more information:\n\nhttps://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-37.html\nhttps://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-28.html\nhttps://www.oracle.com/security-alerts/cpujan2022.html\n",
  "id": "USN-5270-1",
  "modified": "2026-04-27T14:11:27Z",
  "published": "2022-02-03T12:01:37Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5270-1"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21245"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21249"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21253"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21254"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21256"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21264"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21265"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21270"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21301"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21302"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21303"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21304"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21339"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21342"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21344"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21348"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21351"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21358"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21362"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21367"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21368"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21370"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21372"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21374"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21378"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2022-21379"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "mysql-5.7, mysql-8.0 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2022-21245",
    "UBUNTU-CVE-2022-21249",
    "UBUNTU-CVE-2022-21253",
    "UBUNTU-CVE-2022-21254",
    "UBUNTU-CVE-2022-21256",
    "UBUNTU-CVE-2022-21264",
    "UBUNTU-CVE-2022-21265",
    "UBUNTU-CVE-2022-21270",
    "UBUNTU-CVE-2022-21301",
    "UBUNTU-CVE-2022-21302",
    "UBUNTU-CVE-2022-21303",
    "UBUNTU-CVE-2022-21304",
    "UBUNTU-CVE-2022-21339",
    "UBUNTU-CVE-2022-21342",
    "UBUNTU-CVE-2022-21344",
    "UBUNTU-CVE-2022-21348",
    "UBUNTU-CVE-2022-21351",
    "UBUNTU-CVE-2022-21358",
    "UBUNTU-CVE-2022-21362",
    "UBUNTU-CVE-2022-21367",
    "UBUNTU-CVE-2022-21368",
    "UBUNTU-CVE-2022-21370",
    "UBUNTU-CVE-2022-21372",
    "UBUNTU-CVE-2022-21374",
    "UBUNTU-CVE-2022-21378",
    "UBUNTU-CVE-2022-21379"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…