{"id":"CVE-2023-0482","details":"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.","aliases":["GHSA-2c6g-pfx3-w7h8"],"modified":"2026-08-12T03:30:18.470025971Z","published":"2023-02-17T00:00:00Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-378"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0482.json"},"references":[{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/0xxx/CVE-2023-0482.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0482"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230427-0001/"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/resteasy/resteasy","events":[{"introduced":"e7895f30bbc8bbf05568be35285791e31d73bfb1"},{"last_affected":"e7895f30bbc8bbf05568be35285791e31d73bfb1"}],"database_specific":{"cpe":["cpe:2.3:a:redhat:resteasy:3.15.4:*:*:*:*:*:*:*","cpe:2.3:a:redhat:resteasy:4.7.7:*:*:*:*:*:*:*","cpe:2.3:a:redhat:resteasy:5.0.5:*:*:*:*:*:*:*","cpe:2.3:a:redhat:resteasy:6.2.2:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"Fixed in RESTEasy 4.7.8.Final"},{"last_affected":"Fixed in RESTEasy 4.7.8.Final"},{"introduced":"3.15.4"},{"last_affected":"3.15.4"},{"introduced":"4.7.7"},{"last_affected":"4.7.7"},{"introduced":"5.0.5"},{"last_affected":"5.0.5"},{"introduced":"6.2.2"},{"last_affected":"6.2.2"}],"source":["AFFECTED_FIELD","CPE_STRING"]}}],"versions":["3.15.4","4.7.7","5.0.5","6.2.2","Fixed in RESTEasy 4.7.8.Final","4.7.8.Final"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-0482.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}