Use After Free Affecting mariadb-pam package, versions <3:10.5.16-2.module+el8.6.0+20717+9b4a4c6e


Severity

Recommended
medium

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (19th percentile)

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 Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-MARIADBPAM-2970235
  • published4 Aug 2022
  • disclosed18 Feb 2022

Introduced: 18 Feb 2022

CVE-2022-24050  (opens in a new tab)
CWE-416  (opens in a new tab)

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 only to the upstream mariadb-pam package and not the mariadb-pam package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

MariaDB CONNECT Storage Engine Use-After-Free 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 validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute arbitrary code in the context of the service account. Was ZDI-CAN-16207.

CVSS Scores

version 3.1