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


Severity

Recommended
low

Based on CentOS security rating.

Threat Intelligence

EPSS
0.26% (16th 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-CENTOS9-SHADOWUTILS-5876860
  • published31 Aug 2023
  • 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 Centos:9 shadow-utils to version 2:4.9-8.el9 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream shadow-utils package and not the shadow-utils package as distributed by Centos. See How to fix? for Centos: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 Base Scores

version 3.1