USN-5022-1

Source
https://ubuntu.com/security/notices/USN-5022-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5022-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-5022-1
Upstream
Related
Published
2021-07-26T14:12:27.286805Z
Modified
2025-10-13T04:35:35Z
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.26 in Ubuntu 20.04 LTS and Ubuntu 21.04. Ubuntu 18.04 LTS has been updated to MySQL 5.7.35.

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-35.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-26.html https://www.oracle.com/security-alerts/cpujul2021.html

References

Affected packages

Ubuntu:18.04:LTS / mysql-5.7

Package

Name
mysql-5.7
Purl
pkg:deb/ubuntu/mysql-5.7@5.7.35-0ubuntu0.18.04.1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.7.35-0ubuntu0.18.04.1

Affected versions

5.*

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "libmysqlclient-dev"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "libmysqlclient20"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "libmysqld-dev"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-client"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-5.7"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-client-core-5.7"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-server"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-5.7"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-server-core-5.7"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-source-5.7"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-testsuite"
        },
        {
            "binary_version": "5.7.35-0ubuntu0.18.04.1",
            "binary_name": "mysql-testsuite-5.7"
        }
    ],
    "availability": "No subscription required"
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "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-2021-2342"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2372"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2385"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2389"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2390"
            }
        ],
        "ecosystem": "Ubuntu:18.04:LTS"
    }
}

Ubuntu:20.04:LTS / mysql-8.0

Package

Name
mysql-8.0
Purl
pkg:deb/ubuntu/mysql-8.0@8.0.26-0ubuntu0.20.04.2?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.26-0ubuntu0.20.04.2

Affected versions

8.*

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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "libmysqlclient-dev"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "libmysqlclient21"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-client"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-client-8.0"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-client-core-8.0"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-router"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-server"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-server-8.0"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-server-core-8.0"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-source-8.0"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-testsuite"
        },
        {
            "binary_version": "8.0.26-0ubuntu0.20.04.2",
            "binary_name": "mysql-testsuite-8.0"
        }
    ],
    "availability": "No subscription required"
}

Database specific

{
    "cves_map": {
        "cves": [
            {
                "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-2021-2339"
            },
            {
                "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-2021-2340"
            },
            {
                "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-2021-2342"
            },
            {
                "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-2021-2352"
            },
            {
                "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-2021-2354"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2356"
            },
            {
                "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-2021-2357"
            },
            {
                "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-2021-2367"
            },
            {
                "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-2021-2370"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2372"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2374"
            },
            {
                "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-2021-2383"
            },
            {
                "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-2021-2384"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2385"
            },
            {
                "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-2021-2387"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2389"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2390"
            },
            {
                "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-2021-2399"
            },
            {
                "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-2021-2402"
            },
            {
                "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-2021-2410"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2417"
            },
            {
                "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-2021-2418"
            },
            {
                "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-2021-2422"
            },
            {
                "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-2021-2424"
            },
            {
                "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-2021-2425"
            },
            {
                "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-2021-2426"
            },
            {
                "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-2021-2427"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2021-2429"
            },
            {
                "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-2021-2437"
            },
            {
                "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-2021-2440"
            },
            {
                "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-2021-2441"
            }
        ],
        "ecosystem": "Ubuntu:20.04:LTS"
    }
}