Heap-based Buffer Overflow Affecting mariadb-pam package, versions <3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e


medium
  • Attack Complexity

    Low

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-ORACLE8-MARIADBPAM-2970205

  • published

    4 Aug 2022

  • disclosed

    18 Feb 2022

How to fix?

Upgrade Oracle:8 mariadb-pam to version 3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e or higher.
This issue was patched in ELSA-2022-5826.

NVD Description

Note: Versions mentioned in the description apply to the upstream mariadb-pam package. See How to fix? for Oracle:8 relevant versions.

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.