Security Resilience

CVE-2023-45814

Littlebigfresh Bunkum 4.0 – 4.2.1

Published
18 October 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0054 46th percentile
Risk Priority 45 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-45814 is a medium-severity Missing Release of Resource after Effective Lifetime (CWE-772) vulnerability in Littlebigfresh Bunkum. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 46th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

EU & UK References

Vulnerability Data

Bunkum is an open-source protocol-agnostic request server for custom game servers. First, a little bit of background. So, in the beginning, Bunkum's `AuthenticationService` only supported injecting `IUser`s. However, as Refresh and SoundShapesServer implemented permissions systems support for injecting `IToken`s into…

more

endpoints was added. All was well until 4.0. Bunkum 4.0 then changed to enforce relations between `IToken`s and `IUser`s. This wasn't implemented in a very good way in the `AuthenticationService`, and ended up breaking caching in such a way that cached tokens would persist after the lifetime of the request - since we tried to cache both tokens and users. From that point until now, from what I understand, Bunkum was attempting to use that cached token at the start of the next request once cached. Naturally, when that token expired, downstream projects like Refresh would remove the object from Realm - and cause the object in the cache to be in a detached state, causing an exception from invalid use of `IToken.User`. So in other words, a use-after-free since Realm can't manage the lifetime of the cached token. Security-wise, the scope is fairly limited, can only be pulled off on a couple endpoints given a few conditions, and you can't guarantee which token you're going to get. Also, the token *would* get invalidated properly if the endpoint had either a `IToken` usage or a `IUser` usage. The fix is to just wipe the token cache after the request was handled, which is now in `4.2.1`. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

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.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.
T1687 Exploitation for Defense Impairment Defense Impairment
Adversaries may exploit vulnerabilities in security software, infrastructure, or defensive components to degrade, disable, or otherwise continue to impair their ability to prevent, detect, or respond to malicious activity.
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.
T1498.001 Direct Network Flood Impact
Adversaries may attempt to cause a denial of service (DoS) by directly sending a high-volume of network traffic to a target.
T1499.001 OS Exhaustion Flood Impact
Adversaries may launch a denial of service (DoS) attack targeting an endpoint's operating system (OS).
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-115793Shared CWE-772
CVE-2025-36071Shared CWE-772
CVE-2025-61670Shared CWE-772
CVE-2023-1150Shared CWE-772
CVE-2024-2398Shared CWE-772
CVE-2024-20481Shared CWE-772
CVE-2026-112314Shared CWE-772
CVE-2024-20493Shared CWE-772
CVE-2026-120804Shared CWE-772
CVE-2026-9156Shared CWE-772

Affected Assets

littlebigfresh
bunkum
4.0 — 4.2.1

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

Ensures network resources are released once the session ends or becomes inactive, closing the window for missing-release weaknesses.

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.

ID.AM-08 mostly match
blocks

Lifecycle management explicitly requires handling resources through end-of-life including release.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly prevent missing resource-release defects during development.

DE.CM-09 partial match
blocks

Runtime monitoring may surface resource-exhaustion symptoms but does not address release logic.

PR.IR-04 partial match
blocks

Capacity monitoring can detect exhaustion caused by unreleased resources but does not prevent the root defect.

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

A.8.29's combined programme (code review, static analysis, dynamic testing, penetration testing) reaches most CWE-772 instances: static analysis and code review catch the unclosed-handle/connection patterns in source, and dynamic/penetration testing can trigger resource exhaustion under load. The remainder is bounded and nameable — timing-dependent leaks that only manifest under specific operational conditions, and leaks inside third-party components the developer's testing does not fully reach.

prevents

Training developers in secure coding practices (including resource lifecycle management) reduces a minority of CWE-772 instances by raising awareness of release obligations, but the defect is subtle—often hiding in exception paths—and the strongest controls are code review and security testing (A.8.29), not training alone.

prevents

Secure-coding rules can mandate explicit resource-release patterns, but the control is broader than this single weakness.

prevents

A.8.30 carries its effect through the secure design, coding and testing practices (8.25–8.29) it contracts from the supplier, so it reduces ordinary software implementation weaknesses like CWE-772 in the same way those practices do, at the clause's declared ceiling of `partial`.

finds

A.8.8's disclosure-based vulnerability management can surface third-party resource-leak CVEs, but most CWE-772 instances are first-party implementation defects with no vendor advisory and so remain unfound.

References