Use After Free Affecting mariadb105-cracklib-password-check package, versions <3:10.5.16-1.amzn2022.0.4


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.48% (76th 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-AMZN2022-MARIADB105CRACKLIBPASSWORDCHECK-3101815
  • published4 Nov 2022
  • disclosed1 Feb 2022

Introduced: 1 Feb 2022

CVE-2021-46669  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 mariadb105-cracklib-password-check to version 3:10.5.16-1.amzn2022.0.4 or higher.
This issue was patched in ALAS2022-2022-182.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mariadb105-cracklib-password-check package and not the mariadb105-cracklib-password-check package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2022 relevant fixed versions and status.

MariaDB through 10.5.9 allows attackers to trigger a convert_const_to_int use-after-free when the BIGINT data type is used.

CVSS Scores

version 3.1