Security Resilience

CVE-2023-4641

Auth Bypass in Shadow-Maint Shadow-Utils ≤ 4.14.0

Published
27 December 2023
Modified
03 November 2025
CVSS Score v3.1 4.7
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0026 18th percentile
Risk Priority 36 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-4641 is a medium-severity Incorrect Implementation of Authentication Algorithm (CWE-303) vulnerability in Shadow-Maint Shadow-Utils. Its CVSS base score is 4.7 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 18th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

an attacker with enough access to retrieve the password from the memory.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1021.005 VNC Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1210 Exploitation of Remote Services Lateral Movement
Adversaries may exploit remote services to gain unauthorized access to internal systems once inside of a network.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-8922Shared CWE-303
CVE-2023-4042Shared T1190, T1210
CVE-2023-25957Shared CWE-287, CWE-303
CVE-2023-29129Shared CWE-287, CWE-303
CVE-2026-46389Shared CWE-287, CWE-303
CVE-2024-7593Shared CWE-287, CWE-303
CVE-2024-5658Shared CWE-287, CWE-303
CVE-2020-8863Shared CWE-287, CWE-303
CVE-2026-35579Shared CWE-287, CWE-303
CVE-2024-41829Shared CWE-287, CWE-303

Affected Assets

shadow-maint
shadow-utils
≤ 4.14.0
redhat
codeready linux builder
8.0, 9.0
redhat
codeready linux builder for arm64
8.0_aarch64, 9.0_aarch64
redhat
codeready linux builder for ibm z systems
8.0_s390x, 9.0_s390x
redhat
codeready linux builder for power little endian
8.0_ppc64le, 9.0_ppc64le
redhat
enterprise linux
8.0, 9.0
redhat
enterprise linux for arm 64
8.0, 9.0
redhat
enterprise linux for ibm z systems
8.0_s390x, 9.0_s390x
redhat
enterprise linux for power little endian
8.0_ppc64le, 9.0_ppc64le

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-287

Detects unauthorized successful logons resulting from improper authentication implementations.

addresses: CWE-287

Documented procedures ensure personnel are trained on authentication mechanisms, tangibly lowering the risk of improper authentication being exploited.

addresses: CWE-287

Security awareness training instructs users on secure authentication practices and avoiding credential compromise.

addresses: CWE-287

Training on authentication mechanisms and best practices decreases the occurrence of improper authentication.

addresses: CWE-287

Non-repudiation requires strong authentication mechanisms to irrefutably attribute performed actions to specific individuals or processes.

addresses: CWE-287

Session content review can reveal authentication bypasses or failures in session establishment.

addresses: CWE-287

Review of authentication-related audit records can detect improper authentication mechanisms or bypasses.

addresses: CWE-287

Assessments check authentication mechanisms for correct implementation and effectiveness, reducing successful authentication bypass attempts.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require correct implementation of authentication algorithms.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect flawed authentication implementations but does not prevent them by itself.

blocks

Mandating segregated approval and oversight for non-human identities reduces the chance that weak or orphaned credentials can be exploited for unauthorized authentication.

prevents

Secure coding practices reduce the likelihood of incorrect authentication algorithm implementation.

prevents

A.8.30 contracts for secure design, coding and testing practices (8.25–8.29) in outsourced work, which reduces ordinary implementation defects like an incorrectly implemented authentication algorithm the same way those practices do, but the effect is bounded by the fallibility of the practices and the clause's dependence on those other controls being properly implemented — the declared ceiling for A.8.30 on `prevents`.

blocks

Secure authentication control directly requires correct implementation of authentication algorithms.

finds

A.8.8's reach is DISCLOSURE (vendor-published flaws in third-party components) plus the penetration-testing route it names; CWE-303 is primarily a first-party implementation defect whose high-rated detection methods (code review, static analysis) belong to A.8.28/A.8.29, not A.8.8. A minority of instances are found: those in third-party components carrying a published CVE, plus a further slice surfaced by penetration testing where the authentication bypass is observable from outside.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-287, a class-level weakness. Rules are authored against its narrower children: CWE-295, CWE-306.

References