Skip to content
CVE PROGRAM SOURCE RECORD4.7 Medium

CVE-2023-4641

Shadow-utils: possible password leak during passwd(1) change

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

shadow-utils

Default version status: affected

  • 4.14.0-rc1 to < *unaffected

Red Hat Red Hat Enterprise Linux 8

Default version status: affected

  • 2:4.6-19.el8 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support

Default version status: affected

  • 2:4.6-17.el8_6 to < *unaffected

Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support

Default version status: affected

  • 2:4.6-17.el8_8.2 to < *unaffected

Red Hat Red Hat Enterprise Linux 9

Default version status: affected

  • 2:4.9-8.el9 to < *unaffected

Red Hat Red Hat Enterprise Linux 6

Default version status: unknown

Red Hat Red Hat Enterprise Linux 7

Default version status: unknown

References