CVE-2018-3066

Source
https://cve.org/CVERecord?id=CVE-2018-3066
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-3066.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-3066
Downstream
ALPINE (1)
DLA (2)
DSA (1)
MGASA (2)
openSUSE (1)
RHSA (3)
SUSE (9)
UBUNTU (1)
Related
Published
2018-07-18T13:29:08Z
Modified
2026-10-16T07:40:58Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: Options). Supported versions that are affected are 5.5.60 and prior, 5.6.40 and prior and 5.7.22 and prior. Difficult to exploit vulnerability allows high privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of MySQL Server accessible data as well as unauthorized read access to a subset of MySQL Server accessible data. CVSS 3.0 Base Score 3.3 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N).

Database specific
{
    "unresolved_ranges": [
        {
            "cpes": [
                "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "5.5.0"
                        },
                        {
                            "fixed": "5.5.61"
                        },
                        {
                            "introduced": "10.0.0"
                        },
                        {
                            "fixed": "10.0.36"
                        },
                        {
                            "introduced": "10.1.0"
                        },
                        {
                            "fixed": "10.1.35"
                        },
                        {
                            "introduced": "10.2.0"
                        },
                        {
                            "fixed": "10.2.17"
                        },
                        {
                            "introduced": "10.3.0"
                        },
                        {
                            "fixed": "10.3.9"
                        }
                    ],
                    "source": "CPE_RANGE"
                }
            ],
            "vendor_product": "mariadb:mariadb"
        },
        {
            "cpes": [
                "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
                "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "12.04"
                        },
                        {
                            "last_affected": "12.04"
                        },
                        {
                            "introduced": "14.04"
                        },
                        {
                            "last_affected": "14.04"
                        },
                        {
                            "introduced": "16.04"
                        },
                        {
                            "last_affected": "16.04"
                        },
                        {
                            "introduced": "18.04"
                        },
                        {
                            "last_affected": "18.04"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "canonical:ubuntu_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "8.0"
                        },
                        {
                            "last_affected": "8.0"
                        },
                        {
                            "introduced": "9.0"
                        },
                        {
                            "last_affected": "9.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "debian:debian_linux"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "7.0"
                        },
                        {
                            "last_affected": "7.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "redhat:enterprise_linux_desktop"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "7.0"
                        },
                        {
                            "last_affected": "7.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "redhat:enterprise_linux_server"
        },
        {
            "cpes": [
                "cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
                {
                    "range": [
                        {
                            "introduced": "7.0"
                        },
                        {
                            "last_affected": "7.0"
                        }
                    ],
                    "source": "CPE_STRING"
                }
            ],
            "vendor_product": "redhat:enterprise_linux_workstation"
        }
    ]
}
References

Affected packages

Git / github.com/mariadb/server

Affected ranges

Type
GIT
Repo
https://github.com/mariadb/server
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "5.5.0"
                },
                {
                    "fixed": "5.5.61"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.0.0"
                },
                {
                    "fixed": "10.0.36"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.1.0"
                },
                {
                    "fixed": "10.1.35"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.2.0"
                },
                {
                    "fixed": "10.2.17"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:mariadb:mariadb:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "10.3.0"
                },
                {
                    "fixed": "10.3.9"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

mariadb-10.*
mariadb-10.1.0
mariadb-10.1.10
mariadb-10.1.11
mariadb-10.1.12
mariadb-10.1.13
mariadb-10.1.14
mariadb-10.1.15
mariadb-10.1.16
mariadb-10.1.17
mariadb-10.1.18
mariadb-10.1.19
mariadb-10.1.2
mariadb-10.1.20
mariadb-10.1.21
mariadb-10.1.22
mariadb-10.1.23
mariadb-10.1.24
mariadb-10.1.25
mariadb-10.1.26
mariadb-10.1.27
mariadb-10.1.28
mariadb-10.1.29
mariadb-10.1.3
mariadb-10.1.30
mariadb-10.1.31
mariadb-10.1.32
mariadb-10.1.33
mariadb-10.1.34
mariadb-10.1.4
mariadb-10.1.5
mariadb-10.1.6
mariadb-10.1.7
mariadb-10.1.8
mariadb-10.1.9
mariadb-10.2.0
mariadb-10.2.1
mariadb-10.2.10
mariadb-10.2.11
mariadb-10.2.12
mariadb-10.2.13
mariadb-10.2.14
mariadb-10.2.15
mariadb-10.2.16
mariadb-10.2.2
mariadb-10.2.5
mariadb-10.3.0
mariadb-10.3.1
mariadb-10.3.2
mariadb-10.3.4
mariadb-10.3.5
mariadb-10.3.6
mariadb-10.3.7

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-3066.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "88964842003053574630259804416355278302",
            "length": 3281
        },
        "id": "CVE-2018-3066-054c046b",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
        "target": {
            "file": "sql-common/client.c",
            "function": "unpack_fields"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "30804943894516639331708306752096632231",
            "length": 2052
        },
        "id": "CVE-2018-3066-404642c2",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
        "target": {
            "file": "sql-common/client.c",
            "function": "cli_read_rows"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "78191142045503767829834019020932019650",
                "250157719937173868004615858289264688140",
                "312170375706132797718465719883724591296",
                "15117071355854376419182426407334479680",
                "140920309514825384561268578794081140775",
                "130933521110411440899075290412605664940",
                "28770826883863233939468445958714821618",
                "49331132400223798885681869446783630656"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-3066-c0d67519",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/e48d775c6f066add457fa8cfb2ebc4d5ff0c7613",
        "target": {
            "file": "sql-common/client.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "212715881248758194619613885069756850581",
            "length": 3204
        },
        "id": "CVE-2018-3066-c7d63e12",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/50c426200224a4527e84052aa2ab32be893f43f4",
        "target": {
            "file": "storage/sphinx/ha_sphinx.cc",
            "function": "ha_sphinx::create"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "249570897828672210811035826591486207304",
                "322223126166962698284273532715400319885",
                "270290635075884075638435410358092034776",
                "297141217069259403319068516826314832701"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2018-3066-fd9a5a54",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/mariadb/server/commit/50c426200224a4527e84052aa2ab32be893f43f4",
        "target": {
            "file": "storage/sphinx/ha_sphinx.cc"
        }
    }
]
vanir_signatures_modified
"2026-10-16T07:40:58Z"

Git / github.com/mysql/mysql-server

Affected ranges

Type
GIT
Repo
https://github.com/mysql/mysql-server
Events
Introduced
Last Affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last Affected
Last Affected
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "5.5.0"
                },
                {
                    "last_affected": "5.5.60"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "5.6.0"
                },
                {
                    "last_affected": "5.6.40"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "cpe": "cpe:2.3:a:oracle:mysql:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "5.7.0"
                },
                {
                    "last_affected": "5.7.22"
                }
            ],
            "source": "CPE_RANGE"
        }
    ]
}

Affected versions

mysql-3.*
mysql-3.23.22-beta
mysql-3.23.28-gamma
mysql-3.23.30-gamma
mysql-3.23.31
mysql-3.23.32
mysql-3.23.33
mysql-3.23.36
mysql-4.*
mysql-4.0.2
mysql-4.0.4
mysql-5.*
mysql-5.1.4
mysql-5.5.15
mysql-5.5.19
mysql-5.5.23
mysql-5.5.25
mysql-5.5.27
mysql-5.5.44
mysql-5.5.47
mysql-5.5.49
mysql-5.5.59
mysql-5.5.60

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-3066.json"