Cyber Resilience

CVE-2023-38505

Dietpi-Dashboard Project Dietpi-Dashboard 0.6.1

Public PoC
Published
27 July 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.0080 53th percentile
Risk Priority 59 floored blend · peak EPSS

Summary

CVE-2023-38505 is a high-severity Insufficient Resource Pool (CWE-410) vulnerability in Dietpi-Dashboard Project Dietpi-Dashboard. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

EU & UK References

Vulnerability Data

DietPi-Dashboard is a web dashboard for the operating system DietPi. The dashboard only allows for one TLS handshake to be in process at a given moment. Once a TCP connection is established in HTTPS mode, it will assume that it…

more

should be waiting for a handshake, and will stay this way indefinitely until a handshake starts or some error occurs. In version 0.6.1, this can be exploited by simply not starting the handshake, preventing any other TLS handshakes from getting through. An attacker can lock the dashboard in a state where it is waiting for a TLS handshake from the attacker, who won't provide it. This prevents any legitimate traffic from getting to the dashboard, and can last indefinitely. Version 0.6.2 has a patch for this issue. As a workaround, do not use HTTPS mode on the open internet where anyone can connect. Instead, put a reverse proxy in front of the dashboard, and have it handle any HTTPS connections.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.003 Application Exhaustion Flood Impact
Adversaries may target resource intensive features of applications to cause a denial of service (DoS), denying availability to those applications.
T1499.002 Service Exhaustion Flood Impact
Adversaries may target the different network services provided by systems to conduct a denial of service (DoS).
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
T1548 Abuse Elevation Control Mechanism Privilege Escalation
Adversaries may circumvent mechanisms designed to control privilege elevation to gain higher-level permissions.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-22318Shared CWE-412, CWE-667
CVE-2026-62426Shared CWE-412, CWE-667
CVE-2023-53013Shared CWE-667
CVE-2024-40969Shared CWE-667
CVE-2024-43863Shared CWE-667
CVE-2025-39885Shared CWE-667
CVE-2025-38373Shared CWE-667
CVE-2026-43029Shared CWE-667
CVE-2024-56743Shared CWE-667
CVE-2023-52595Shared CWE-667

Affected Assets

dietpi-dashboard project
dietpi-dashboard
0.6.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 3 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V15.1.3
  • V17.1.2

Likely Mitigating Controls AI

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-410

Ensures a managed resource pool is maintained rather than allowing exhaustion by any single consumer.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.IR-04 full match
prevents

Directly requires maintaining adequate resource capacity to ensure availability, which prevents exhaustion attacks from insufficient pools.

PR.AA-05 mostly match
prevents

Enforcing least-privilege authorization policies directly prevents external actors from acquiring or influencing locks.

PR.IR-01 mostly match
prevents

Logical access controls and segmentation stop unintended external influence over synchronization primitives.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly include code reviews, static analysis, and concurrency standards that prevent improper locking.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover externally controllable locks before deployment.

PR.PS-01 partial match
prevents

Hardened configuration baselines can disable or restrict external lock exposure by default.

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

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

degrades

Capacity management directly addresses sizing resource pools to handle peak demand and prevent exhaustion.

finds

Security testing can detect race conditions and locking errors before release.

mitigates

Redundancy of processing facilities mitigates resource exhaustion by providing failover capacity.

mitigates

Restricting privileged utilities can limit external lock manipulation but does not address the core weakness.

mitigates

Privileged access rights limit who can create or manipulate locks, reducing external influence.

mitigates

Network security measures can block external access paths to locks but do not address the design flaw itself.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248553 OL 8 must be configured so that all network connections associated with SSH traffic are terminated after 10 minutes of becoming unresponsive. prevents CWE-410
Oracle Linux 9 (2 rules)
  • V-271709 OL 9 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. prevents CWE-410
  • V-271710 OL 9 must be configured so that all network connections associated with SSH traffic are terminated after 10 minutes of becoming unresponsive. prevents CWE-410
RHEL 8 (2 rules)
  • V-230244 RHEL 8 must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive. prevents CWE-410
  • V-244525 RHEL 8 must be configured so that all network connections associated with SSH traffic are terminated after 10 minutes of becoming unresponsive. prevents CWE-410

References