The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-0482

CVE-2023-0482: Redhat Resteasy Information Disclosure

CVE-2023-0482 is an information disclosure vulnerability in Redhat Resteasy caused by insecure temporary file creation. Local users can read sensitive data from temp files. This article covers technical details.

Published: February 4, 2026

CVE-2023-0482 Overview

A local information disclosure vulnerability exists in RESTEasy where the insecure File.createTempFile() method is used in the DataSourceProvider, FileProvider, and Mime4JWorkaround classes. This creates temporary files with insecure permissions that could be read by a local user, potentially exposing sensitive data processed by RESTEasy-based applications.

Critical Impact

Local attackers with low privileges can read sensitive data from temporary files created by RESTEasy applications due to insecure file permissions.

Affected Products

  • Red Hat RESTEasy versions 3.15.4, 4.7.7, 5.0.5, and 6.2.2
  • NetApp Active IQ Unified Manager (Linux, vSphere, Windows)
  • NetApp OnCommand Workflow Automation

Discovery Timeline

  • 2023-02-17 - CVE-2023-0482 published to NVD
  • 2025-03-18 - Last updated in NVD database

Technical Details for CVE-2023-0482

Vulnerability Analysis

This vulnerability stems from the use of Java's deprecated File.createTempFile() method within RESTEasy's file handling components. When RESTEasy processes certain requests that require temporary file storage—such as multipart form data or data source operations—it creates temporary files using this insecure method. The core issue is that File.createTempFile() creates files with default permissions that may allow read access to other local users on the system, depending on the operating system's default umask settings.

The affected classes—DataSourceProvider, FileProvider, and Mime4JWorkaround—are integral to RESTEasy's request processing pipeline and handle various data transformation and storage operations. Any sensitive data processed through these providers could be temporarily written to disk with overly permissive access controls.

Root Cause

The root cause is the use of the legacy File.createTempFile() API instead of the more secure java.nio.file.Files.createTempFile() method introduced in Java 7. The newer NIO.2 API allows explicit specification of file attributes and permissions during file creation, enabling secure-by-default temporary file creation with restricted permissions. The vulnerable code path does not properly restrict file permissions, violating the principle of least privilege for temporary file access (CWE-378: Creation of Temporary File With Insecure Permissions).

Attack Vector

The attack requires local access to the system running a RESTEasy-based application. An attacker with a local user account can monitor the temporary directory (typically /tmp on Linux or %TEMP% on Windows) for newly created temporary files. When RESTEasy processes requests containing sensitive data, the attacker can read the contents of these temporary files before they are deleted, potentially exposing confidential information such as uploaded files, session data, or application-specific sensitive content.

The attack exploits a race condition window between file creation and deletion, combined with the insecure default permissions. On multi-user systems or shared hosting environments, this poses a significant confidentiality risk.

Detection Methods for CVE-2023-0482

Indicators of Compromise

  • Unexpected access to temporary files in /tmp or system temp directories by non-application users
  • Audit log entries showing file reads on RESTEasy temporary files by unauthorized local accounts
  • Suspicious monitoring processes watching temporary directories for new file creation

Detection Strategies

  • Monitor file access patterns in temporary directories for applications using RESTEasy
  • Implement file integrity monitoring on temp directories to detect unauthorized reads
  • Review application logs for unusual data processing patterns that may indicate exploitation
  • Use process monitoring to detect local users accessing application temp files

Monitoring Recommendations

  • Enable auditd or equivalent file access auditing on Linux systems for temp directories
  • Configure SentinelOne's behavioral AI to detect suspicious temp file access patterns
  • Implement real-time alerting for unauthorized file access attempts on RESTEasy temp files
  • Monitor for reconnaissance activities targeting temporary file locations

How to Mitigate CVE-2023-0482

Immediate Actions Required

  • Upgrade RESTEasy to a patched version that addresses the insecure temp file creation
  • Review and restrict file permissions on temporary directories where possible
  • Implement restrictive umask settings for application processes running RESTEasy
  • Limit local user access on servers running RESTEasy-based applications

Patch Information

Red Hat has addressed this vulnerability through a code fix that replaces the insecure File.createTempFile() calls with secure alternatives. The fix is available in the RESTEasy GitHub commit. NetApp customers should consult the NetApp Security Advisory NTAP-20230427-0001 for guidance on affected products.

Workarounds

  • Configure a dedicated temporary directory with restrictive permissions (700) for RESTEasy applications
  • Run RESTEasy applications under a dedicated service account with no shared access
  • Implement filesystem-level access controls to isolate application temp directories
  • Consider containerization to provide process isolation and separate temp filesystems
bash
# Configuration example - Secure temp directory for RESTEasy application
mkdir -p /opt/resteasy-app/tmp
chmod 700 /opt/resteasy-app/tmp
chown appuser:appgroup /opt/resteasy-app/tmp

# Set Java temp directory for the application
export JAVA_OPTS="-Djava.io.tmpdir=/opt/resteasy-app/tmp"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechRedhat Resteasy

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-378

  • NVD-CWE-Other
  • Technical References
  • NetApp Security Advisory NTAP-20230427-0001
  • Vendor Resources
  • GitHub Pull Request Commits
  • Related CVEs
  • CVE-2020-25633: RESTEasy Information Disclosure Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English