Skip to content
OpenAdvisories
Medium · 5.5 Public exploit CVE-2023-0482 EUVD-2025-0086GHSA-2c6g-pfx3-w7h8

Insecure Temporary File in RESTEasy

Published Feb 17, 2023 · Updated Mar 18, 2025 · Assigned by redhat

Description

In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround classes which creates temp files with insecure permissions that could be read by a local user.

Affected products

VendorProductAffectedFixed
— RESTEasy Fixed in RESTEasy 4.7.8.Final —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 resteasy3.0 No fix yet —
Debian 13 resteasy3.0 No fix yet —
Debian 12 resteasy3.0 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 resteasy +1 No fix yet —
Ubuntu 26.04 LTS resteasy +1 No fix yet —
Ubuntu 25.10 resteasy +1 No fix yet —
Ubuntu 24.04 LTS resteasy3.0 3.0.26-6ubuntu0.24.04.1 USN-7630-1
Ubuntu 22.04 LTS resteasy3.0 3.0.26-3ubuntu0.1 USN-7630-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS resteasy 3.6.2-2ubuntu0.24.04.1~esm1 USN-7351-1
Ubuntu Pro 22.04 LTS resteasy 3.6.2-2ubuntu0.22.04.1~esm1 USN-7351-1
Ubuntu Pro 20.04 LTS resteasy 3.6.2-2ubuntu0.20.04.1~esm1 USN-7351-1
Ubuntu Pro 20.04 LTS resteasy3.0 3.0.26-1ubuntu0.1~esm1 USN-7630-1
Ubuntu Pro 18.04 LTS resteasy3.0 3.0.26-1~18.04.1~esm1 USN-7630-1
Ubuntu Pro 16.04 LTS resteasy 3.0.6-3ubuntu0.1~esm1 USN-7630-1
ReleasePackageFixed inAdvisory
Red Hat Single Sign On 7 rh-sso7-keycloak +1 18.0.7-1.redhat_00001.1.el7sso RHSA-2023:2707, RHSA-2023:2706, RHSA-2023:2705
Red Hat JBoss EAP 7 eap7-activemq-artemis-native 1:1.0.2-3.redhat_00004.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-apache-mime4j 0.8.9-1.redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-artemis-native +1 1:1.0.2-4.redhat_00004.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-artemis-wildfly-integration 1.0.7-1.redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-infinispan +9 11.0.17-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.11-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jboss-ejb-client 4.0.50-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jboss-el-api_3.0_spec 2.0.1-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jboss-metadata +5 13.4.0-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-26.Final_redhat_00025.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jbossws-cxf 5.4.8-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-jbossws-spi 3.4.0-2.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-netty +28 4.1.86-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-picketlink-api +7 2.5.5-22.SP12_redhat_00012.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-resteasy +18 3.15.5-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-snakeyaml 1.33.0-2.SP1_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-undertow 2.2.23-1.SP2_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-undertow-jastow 2.0.14-1.Final_redhat_00001.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.10-6.GA_redhat_00002.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-wildfly-http-client +4 1.1.16-1.Final_redhat_00002.1.el7eap RHSA-2023:1514, RHSA-2023:1513, RHSA-2023:1512
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.10-6.GA_redhat_00002.1.el8eap RHSA-2023:1514, RHSA-2023:1513

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 resteasy-base +12 3.0.6-4.amzn2.0.1 ALAS2-2024-2398

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Bethel904/CVE-2023-0482-Analysis ★ 0 · Oct 21, 2026

    Cybersecurity vulnerability analysis of CVE-2023-0482, including NVD details, patch information, Cyber Kill Chain mapping, and mitigation recommendations

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jboss.resteasy:resteasy-core >= 6.0.0.Beta1, < 6.2.3.Final 6.2.3.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-core >= 5.0.0.Alpha1, < 5.0.6.Final 5.0.6.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-core >= 4.0.0.Beta1, < 4.7.8.Final 4.7.8.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-core < 3.15.5.Final 3.15.5.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-multipart-provider >= 6.0.0.Beta1, < 6.2.3.Final 6.2.3.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-multipart-provider >= 5.0.0.Alpha1, < 5.0.6.Final 5.0.6.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-multipart-provider >= 4.0.0.Beta1, < 4.7.8.Final 4.7.8.Final GHSA-2c6g-pfx3-w7h8
Maven org.jboss.resteasy:resteasy-multipart-provider < 3.15.5.Final 3.15.5.Final GHSA-2c6g-pfx3-w7h8

Advisories 13

References