{"id":"CVE-2023-0482","aliases":["GHSA-2c6g-pfx3-w7h8"],"url":"https://o3.security/vulnerability/CVE-2023-0482","summary":"Insecure Temporary File in RESTEasy","details":"### Impact\nIn 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.\n\n### Patches\nFixed in the following pull requests:\n\n* https://github.com/resteasy/resteasy/pull/3409 (7.0.0.Alpha1)\n* https://github.com/resteasy/resteasy/pull/3423 (6.2.3.Final)\n* https://github.com/resteasy/resteasy/pull/3412 (5.0.6.Final)\n* https://github.com/resteasy/resteasy/pull/3413 (4.7.8.Final)\n* https://github.com/resteasy/resteasy/pull/3410 (3.15.5.Final)\n\n### Workarounds\nThere is no workaround for this issue.\n\n### References\n* https://nvd.nist.gov/vuln/detail/CVE-2023-0482\n* https://bugzilla.redhat.com/show_bug.cgi?id=2166004\n* https://github.com/advisories/GHSA-jrmh-v64j-mjm9\n","published":"2023-02-17T00:00:00Z","modified":"2026-08-12T03:51:15.971650784Z","cvss":{"score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-core","fixedVersion":"6.2.3.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-core","fixedVersion":"5.0.6.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-core","fixedVersion":"4.7.8.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-multipart-provider","fixedVersion":"6.2.3.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-multipart-provider","fixedVersion":"5.0.6.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-multipart-provider","fixedVersion":"4.7.8.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-multipart-provider","fixedVersion":"3.15.5.Final"},{"ecosystem":"Maven","name":"org.jboss.resteasy:resteasy-core","fixedVersion":"3.15.5.Final"}],"fix":{"url":"https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56","label":"resteasy/resteasy#3409"},"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/"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/security/advisories/GHSA-2c6g-pfx3-w7h8"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3409"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3410"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3412"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3413"},{"type":"WEB","url":"https://github.com/resteasy/resteasy/pull/3423"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2166004"},{"type":"WEB","url":"https://github.com/orgs/resteasy/discussions/3415"},{"type":"WEB","url":"https://github.com/orgs/resteasy/discussions/3504"},{"type":"WEB","url":"https://github.com/orgs/resteasy/discussions/3506"},{"type":"PACKAGE","url":"https://github.com/resteasy/resteasy"},{"type":"WEB","url":"https://issues.redhat.com/browse/RESTEASY-3286"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20230427-0001"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:15.971650784Z"}}