Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.jboss.resteasy/resteasy-multipart-provider
  4. ›
  5. CVE-2023-0482

CVE-2023-0482: Insecure Temporary File in RESTEasy

February 18, 2023 (updated January 15, 2025)

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.

References

  • github.com/advisories/GHSA-jrmh-v64j-mjm9
  • github.com/orgs/resteasy/discussions/3415
  • github.com/orgs/resteasy/discussions/3504
  • github.com/orgs/resteasy/discussions/3506
  • github.com/resteasy/Resteasy
  • github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56
  • issues.redhat.com/browse/RESTEASY-3286
  • nvd.nist.gov/vuln/detail/CVE-2023-0482
  • security.netapp.com/advisory/ntap-20230427-0001

Code Behaviors & Features

Detect and mitigate CVE-2023-0482 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0.Alpha1 before 5.0.6.Final, all versions starting from 6.0.0.Beta1 before 6.2.3.Final, all versions before 4.7.8.Final

Fixed versions

  • 4.7.8.Final
  • 5.0.6.Final
  • 6.2.3.Final

Solution

Upgrade to versions 4.7.8.Final, 5.0.6.Final, 6.2.3.Final or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-378: Creation of Temporary File With Insecure Permissions

Source file

maven/org.jboss.resteasy/resteasy-multipart-provider/CVE-2023-0482.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.