Incorrect Implementation of Authentication Algorithm Affecting shadow-utils-subid package, versions <2:4.9-8.el9


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (13th 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 IDSNYK-RHEL9-SHADOWUTILSSUBID-7874157
  • published3 Sept 2024
  • disclosed17 Jun 2023

Introduced: 17 Jun 2023

CVE-2023-4641  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade RHEL:9 shadow-utils-subid to version 2:4.9-8.el9 or higher.
This issue was patched in RHSA-2023:6632.

NVD Description

Note: Versions mentioned in the description apply only to the upstream shadow-utils-subid package and not the shadow-utils-subid package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

A flaw was found in shadow-utils. When asking for a new password, shadow-utils asks the password twice. If the password fails on the second attempt, shadow-utils fails in cleaning the buffer used to store the first entry. This may allow an attacker with enough access to retrieve the password from the memory.

CVSS Scores

version 3.1