{"id":"CVE-2023-0482","published":"2023-02-17T00:00:00Z","modified":"2025-03-18T16:02:42Z","title":"In RESTEasy the insecure File.createTempFile() is used in the DataSourceProvider, FileProvider and Mime4JWorkaround…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00261,"percentile":0.1829,"provenance":"source"},"cwes":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions"}],"references":[{"url":"https://github.com/resteasy/resteasy/pull/3409/commits/807d7456f2137cde8ef7c316707211bf4e542d56","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20230427-0001/","tags":[]}],"priority":{"score":12.5,"factors":[{"name":"EPSS percentile","points":3.66},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.85}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-21","earliestUrl":"https://github.com/Bethel904/CVE-2023-0482-Analysis","repos":[{"name":"Bethel904/CVE-2023-0482-Analysis","url":"https://github.com/Bethel904/CVE-2023-0482-Analysis","stars":0,"created":"2026-10-21"}]},"first":{"date":"2026-10-21","source":"PoC-in-GitHub","url":"https://github.com/Bethel904/CVE-2023-0482-Analysis"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"RESTEasy","versions":["Fixed in RESTEasy 4.7.8.Final"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-18T16:02:39.109651Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.jboss.resteasy:resteasy-core","vulnerableRanges":[">=6.0.0.Beta1, <6.2.3.Final",">=5.0.0.Alpha1, <5.0.6.Final",">=4.0.0.Beta1, <4.7.8.Final","<3.15.5.Final"],"patched":["6.2.3.Final","5.0.6.Final","4.7.8.Final","3.15.5.Final"],"from":["GHSA-2c6g-pfx3-w7h8"],"provenance":"source"},{"ecosystem":"Maven","package":"org.jboss.resteasy:resteasy-multipart-provider","vulnerableRanges":[">=6.0.0.Beta1, <6.2.3.Final",">=5.0.0.Alpha1, <5.0.6.Final",">=4.0.0.Beta1, <4.7.8.Final","<3.15.5.Final"],"patched":["6.2.3.Final","5.0.6.Final","4.7.8.Final","3.15.5.Final"],"from":["GHSA-2c6g-pfx3-w7h8"],"provenance":"source"}],"summary":{"text":"The flaw lies in RESTEasy, where the DataSourceProvider, FileProvider and Mime4JWorkaround classes use the insecure File.createTempFile() call, creating temporary files with insecure permissions. An attacker with local access and low privileges, requiring no user interaction, could read those temporary files and gain access to their contents.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:14:17Z"},"euvd":{"id":"EUVD-2025-0086","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-10688","published":"2021-05-27","fixed":"4.5.3.Final","kev":false,"link":{"from":"CVE-2020-10688","to":"CVE-2023-0482","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jboss.resteasy:resteasy-core","fromFixed":"3.11.1.Final","toFixed":"3.15.5.Final","daysApart":631}]}},{"cve":"CVE-2021-20289","published":"2021-03-26","fixed":"4.6.1","kev":false,"link":{"from":"CVE-2021-20289","to":"CVE-2023-0482","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.jboss.resteasy:resteasy-core","fromFixed":"4.6.1","toFixed":"4.7.8.Final","daysApart":693}]}},{"cve":"CVE-2023-0482","published":"2023-02-17","fixed":"6.2.3.Final","kev":false}],"package":"Maven:org.jboss.resteasy:resteasy-core"}}