Cyber Resilience

CVE-2023-0481

Quarkus ≤ 2.16.1

Published
24 February 2023
Modified
12 March 2025
Patch / advisory
CVSS Score v3.1 3.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS Score 0.0021 11th percentile
Risk Priority 28 floored blend · peak EPSS

Summary

CVE-2023-0481 is a low-severity Creation of Temporary File With Insecure Permissions (CWE-378) vulnerability in Quarkus Quarkus. Its CVSS base score is 3.3 (Low).

Operationally, exploitation aligns with the MITRE ATT&CK technique Cloud Instance Metadata API (T1552.005); ranked at the 11th 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

In RestEasy Reactive implementation of Quarkus the insecure File.createTempFile() is used in the FileBodyHandler class which creates temp files with insecure permissions that could be read by a local user.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1552.005 Cloud Instance Metadata API Credential Access
Adversaries may attempt to access the Cloud Instance Metadata API to collect credentials and other sensitive data.
T1552.007 Container API Credential Access
Adversaries may gather credentials via APIs within a containers environment.
T1039 Data from Network Shared Drive Collection
Adversaries may search network shares on computers they have compromised to find files of interest.
T1530 Data from Cloud Storage Collection
Adversaries may access data from cloud storage.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2023-1584Same product: Quarkus Quarkus
CVE-2023-5720Same product: Quarkus Quarkus
CVE-2026-39852Same product: Quarkus Quarkus
CVE-2026-50559Same product: Quarkus Quarkus
CVE-2023-6267Same product: Quarkus Quarkus
CVE-2024-12225Same product: Quarkus Quarkus
CVE-2025-66560Same product: Quarkus Quarkus
CVE-2024-52543Shared CWE-378, CWE-668
CVE-2023-6394Same product: Quarkus Quarkus
CVE-2023-0044Same product: Quarkus Quarkus

Affected Assets

quarkus
quarkus
≤ 2.16.1

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 8 hardening rules · 7 OS baselines
Validate
Prove the fix (OWASP ASVS)

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

Controls whether organization resources are exposed to external system spheres by permitting or prohibiting their use.

addresses: CWE-668

The control ensures information is not released into a security sphere where the recipient lacks matching access authorizations.

addresses: CWE-668

The control ensures information resources are not exposed to the incorrect (public) sphere through review and authorization.

addresses: CWE-668

Protects against data mining that would expose resources to unauthorized spheres by enforcing detection and controls.

addresses: CWE-668

Restricts information flows to ensure resources are not exposed to incorrect or unauthorized spheres.

addresses: CWE-668

Controlling internal connections prevents exposure of resources to unintended internal spheres.

addresses: CWE-668

Knowing exact processing and storage locations helps avoid exposure of resources to incorrect spheres.

addresses: CWE-668

The control prevents exposure of the media resource to the wrong security sphere.

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.AA-05 mostly match
prevents

Enforcing least-privilege authorizations directly prevents resources from being exposed outside their intended control sphere.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require proper temporary-file creation and permission handling.

PR.IR-01 partial match
prevents

Network segmentation and unauthorized-access protections reduce the chance of resources being reachable by the wrong sphere.

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.

prevents

Secure coding standards directly prohibit insecure temporary file creation and permissions.

finds

Security testing can detect insecure temporary files but does not prevent their creation.

mitigates

Placing systems of differing trust levels into separate domains prevents resources from being placed in a sphere where they are reachable by unintended actors.

prevents

Secure SDLC mandates secure handling of temporary files and permissions.

prevents

Application security requirements include secure creation and permissioning of temporary files.

prevents

Secure architecture principles require least-privilege file creation and access controls.

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 (2 rules)
  • V-248827 OL 8 must not have the rsh-server package installed. prevents CWE-668
  • V-248823 OL 8 must not have the telnet-server package installed. prevents CWE-668
RHEL 7 (1 rule)
  • V-204442 The Red Hat Enterprise Linux operating system must not have the rsh-server package installed. prevents CWE-668
Windows 10 (1 rule)
  • V-220967 The Debug programs user right must only be assigned to the Administrators group. prevents CWE-668
Windows 11 (1 rule)
  • V-253490 The "Debug programs" user right must only be assigned to the Administrators group. prevents CWE-668
Windows Server 2016 (1 rule)
  • V-225079 The Debug programs user right must only be assigned to the Administrators group. prevents CWE-668
Windows Server 2019 (1 rule)
  • V-205757 Windows Server 2019 Debug programs: user right must only be assigned to the Administrators group. prevents CWE-668
Windows Server 2022 (1 rule)
  • V-254500 Windows Server 2022 debug programs user right must only be assigned to the Administrators group. prevents CWE-668

References