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

CVE-2023-4641
MEDIUM 4.7

En bref

Source
NVD
EPSS
EPSS 0.26 % · centile 17 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-303 — Implémentation incorrecte de l'algorithme d'authentification
  • CWE-287 — Authentification incorrecte

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
shadow-utilsunaffected 4.14.0-rc1 < *
Red Hat · Red Hat Enterprise Linux 8unaffected 2:4.6-19.el8 < *
Red Hat · Red Hat Enterprise Linux 8.6 Extended Update Supportunaffected 2:4.6-17.el8_6 < *
Red Hat · Red Hat Enterprise Linux 8.8 Extended Update Supportunaffected 2:4.6-17.el8_8.2 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 2:4.9-8.el9 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD