UBUNTU-CVE-2022-24052

Source
https://ubuntu.com/security/CVE-2022-24052
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-24052.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-24052
Related
Published
2022-02-18T20:15:00Z
Modified
2024-10-15T14:09:48Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

MariaDB CONNECT Storage Engine Heap-based Buffer Overflow Privilege Escalation Vulnerability. This vulnerability allows local attackers to escalate privileges on affected installations of MariaDB. Authentication is required to exploit this vulnerability. The specific flaw exists within the processing of SQL queries. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16190.

References

Affected packages

Ubuntu:Pro:16.04:LTS / mariadb-10.0

Package

Name
mariadb-10.0
Purl
pkg:deb/ubuntu/mariadb-10.0?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.0.20-0ubuntu0.15.04.1
10.0.22-0ubuntu1
10.0.23-1
10.0.23-2
10.0.24-7
10.0.25-0ubuntu0.16.04.1
10.0.27-0ubuntu0.16.04.1
10.0.28-0ubuntu0.16.04.1
10.0.29-0ubuntu0.16.04.1
10.0.31-0ubuntu0.16.04.2
10.0.33-0ubuntu0.16.04.1
10.0.34-0ubuntu0.16.04.1
10.0.36-0ubuntu0.16.04.1
10.0.38-0ubuntu0.16.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / mariadb-10.1

Package

Name
mariadb-10.1
Purl
pkg:deb/ubuntu/mariadb-10.1?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

10.*

10.1.25-1

1:10.*

1:10.1.29-6
1:10.1.34-0ubuntu0.18.04.1
1:10.1.38-0ubuntu0.18.04.1
1:10.1.38-0ubuntu0.18.04.2
1:10.1.40-0ubuntu0.18.04.1
1:10.1.41-0ubuntu0.18.04.1
1:10.1.43-0ubuntu0.18.04.1
1:10.1.44-0ubuntu0.18.04.1
1:10.1.47-0ubuntu0.18.04.1
1:10.1.48-0ubuntu0.18.04.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / mariadb-10.3

Package

Name
mariadb-10.3
Purl
pkg:deb/ubuntu/mariadb-10.3?arch=src?distro=focal

Affected ranges

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

Affected versions

1:10.*

1:10.3.17-1
1:10.3.18-1
1:10.3.19-1
1:10.3.21-2
1:10.3.22-1
1:10.3.22-1ubuntu1
1:10.3.25-0ubuntu0.20.04.1
1:10.3.29-0ubuntu0.20.04.1
1:10.3.30-0ubuntu0.20.04.1
1:10.3.31-0ubuntu0.20.04.1
1:10.3.32-0ubuntu0.20.04.1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadb-dev"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadb-dev-compat"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadb-dev-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadb3"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadb3-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadbclient-dev"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadbd-dev"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadbd19"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "libmariadbd19-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-backup"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-backup-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-client"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-client-10.3"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-client-10.3-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-client-core-10.3"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-client-core-10.3-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-common"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-connect"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-connect-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-cracklib-password-check"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-cracklib-password-check-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-gssapi-client"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-gssapi-client-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-gssapi-server"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-gssapi-server-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-mroonga"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-mroonga-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-oqgraph"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-oqgraph-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-rocksdb"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-rocksdb-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-spider"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-spider-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-tokudb"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-plugin-tokudb-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-server"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-server-10.3"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-server-10.3-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-server-core-10.3"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-server-core-10.3-dbgsym"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-test"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-test-data"
        },
        {
            "binary_version": "1:10.3.34-0ubuntu0.20.04.1",
            "binary_name": "mariadb-test-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / mariadb-10.6

Package

Name
mariadb-10.6
Purl
pkg:deb/ubuntu/mariadb-10.6?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:10.6.7-2ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadb-dev"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadb-dev-compat"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadb-dev-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadb3"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadb3-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadbd-dev"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadbd19"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "libmariadbd19-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-backup"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-backup-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-client"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-client-10.6"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-client-10.6-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-client-core-10.6"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-client-core-10.6-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-common"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-connect"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-connect-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-cracklib-password-check"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-cracklib-password-check-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-gssapi-client"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-gssapi-client-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-gssapi-server"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-gssapi-server-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-mroonga"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-mroonga-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-oqgraph"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-oqgraph-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-rocksdb"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-rocksdb-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-s3"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-s3-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-spider"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-plugin-spider-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-server"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-server-10.6"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-server-10.6-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-server-core-10.6"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-server-core-10.6-dbgsym"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-test"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-test-data"
        },
        {
            "binary_version": "1:10.6.7-2ubuntu1",
            "binary_name": "mariadb-test-dbgsym"
        }
    ]
}