USN-6060-1

Source
https://ubuntu.com/security/notices/USN-6060-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6060-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6060-1
Upstream
Related
Published
2023-05-08T11:47:20.695076Z
Modified
2025-10-13T04:36:25Z
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.33 in Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 22.10, and Ubuntu 23.04. Ubuntu 18.04 LTS has been updated to MySQL 5.7.42.

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-42.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-33.html https://www.oracle.com/security-alerts/cpuapr2023.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.42-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.42-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
5.7.35-0ubuntu0.18.04.1
5.7.35-0ubuntu0.18.04.2
5.7.36-0ubuntu0.18.04.1
5.7.37-0ubuntu0.18.04.1
5.7.38-0ubuntu0.18.04.1
5.7.39-0ubuntu0.18.04.2
5.7.40-0ubuntu0.18.04.1
5.7.41-0ubuntu0.18.04.1

Ecosystem specific

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

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "cves": [
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2023-21912"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2023-21980"
            }
        ]
    }
}

Ubuntu:20.04:LTS / mysql-8.0

Package

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

Affected ranges

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

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
8.0.26-0ubuntu0.20.04.2
8.0.26-0ubuntu0.20.04.3
8.0.27-0ubuntu0.20.04.1
8.0.28-0ubuntu0.20.04.3
8.0.29-0ubuntu0.20.04.2
8.0.29-0ubuntu0.20.04.3
8.0.30-0ubuntu0.20.04.2
8.0.31-0ubuntu0.20.04.1
8.0.31-0ubuntu0.20.04.2
8.0.32-0buntu0.20.04.1
8.0.32-0ubuntu0.20.04.2

Ecosystem specific

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

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "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-2023-21911"
            },
            {
                "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-2023-21919"
            },
            {
                "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-2023-21920"
            },
            {
                "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-2023-21929"
            },
            {
                "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-2023-21933"
            },
            {
                "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-2023-21935"
            },
            {
                "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-2023-21940"
            },
            {
                "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-2023-21945"
            },
            {
                "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-2023-21946"
            },
            {
                "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-2023-21947"
            },
            {
                "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-2023-21953"
            },
            {
                "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-2023-21955"
            },
            {
                "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-2023-21962"
            },
            {
                "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-2023-21966"
            },
            {
                "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-2023-21972"
            },
            {
                "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-2023-21976"
            },
            {
                "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-2023-21977"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2023-21980"
            },
            {
                "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-2023-21982"
            }
        ]
    }
}

Ubuntu:22.04:LTS / mysql-8.0

Package

Name
mysql-8.0
Purl
pkg:deb/ubuntu/mysql-8.0@8.0.33-0ubuntu0.22.04.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

8.*

8.0.26-0ubuntu1
8.0.27-0ubuntu0.21.10.1
8.0.28-0ubuntu3
8.0.28-0ubuntu4
8.0.29-0ubuntu0.22.04.1
8.0.29-0ubuntu0.22.04.2
8.0.29-0ubuntu0.22.04.3
8.0.30-0ubuntu0.22.04.1
8.0.31-0ubuntu0.22.04.1
8.0.32-0buntu0.22.04.1
8.0.32-0ubuntu0.22.04.2

Ecosystem specific

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

Database specific

{
    "cves_map": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "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-2023-21911"
            },
            {
                "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-2023-21919"
            },
            {
                "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-2023-21920"
            },
            {
                "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-2023-21929"
            },
            {
                "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-2023-21933"
            },
            {
                "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-2023-21935"
            },
            {
                "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-2023-21940"
            },
            {
                "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-2023-21945"
            },
            {
                "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-2023-21946"
            },
            {
                "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-2023-21947"
            },
            {
                "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-2023-21953"
            },
            {
                "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-2023-21955"
            },
            {
                "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-2023-21962"
            },
            {
                "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-2023-21966"
            },
            {
                "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-2023-21972"
            },
            {
                "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-2023-21976"
            },
            {
                "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-2023-21977"
            },
            {
                "severity": [
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H",
                        "type": "CVSS_V3"
                    },
                    {
                        "score": "medium",
                        "type": "Ubuntu"
                    }
                ],
                "id": "CVE-2023-21980"
            },
            {
                "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-2023-21982"
            }
        ]
    }
}