{"id":"UBUNTU-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.","modified":"2026-02-04T02:56:44.336296Z","published":"2023-02-17T22:15:00Z","related":["USN-7351-1","USN-7630-1"],"upstream":["CVE-2023-0482"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-0482"},{"type":"REPORT","url":"https://github.com/resteasy/resteasy/pull/3409/"},{"type":"REPORT","url":"https://github.com/resteasy/resteasy/commit/3d8a551d80b98f185edaff6f895188ec8211366b"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-0482"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7351-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7630-1"}],"affected":[{"package":{"name":"resteasy","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/resteasy@3.0.6-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.6-3ubuntu0.1~esm1"}]}],"versions":["3.0.6-3"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.0.6-3ubuntu0.1~esm1","binary_name":"libresteasy-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy3.0","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/resteasy3.0@3.0.26-1~18.04.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-1~18.04.1~esm1"}]}],"versions":["3.0.19-1","3.0.19-2","3.0.26-1~18.04"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.0.26-1~18.04.1~esm1","binary_name":"libresteasy3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/resteasy@3.6.2-2ubuntu0.20.04.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2-2ubuntu0.20.04.1~esm1"}]}],"versions":["3.6.2-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.6.2-2ubuntu0.20.04.1~esm1","binary_name":"libresteasy-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy3.0","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/resteasy3.0@3.0.26-1ubuntu0.1~esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-1ubuntu0.1~esm1"}]}],"versions":["3.0.26-1"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.0.26-1ubuntu0.1~esm1","binary_name":"libresteasy3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy3.0","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/resteasy3.0@3.0.26-3ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-3ubuntu0.1"}]}],"versions":["3.0.26-2","3.0.26-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.0.26-3ubuntu0.1","binary_name":"libresteasy3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/resteasy@3.6.2-2ubuntu0.22.04.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2-2ubuntu0.22.04.1~esm1"}]}],"versions":["3.6.2-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.6.2-2ubuntu0.22.04.1~esm1","binary_name":"libresteasy-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy3.0","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/resteasy3.0@3.0.26-6ubuntu0.24.04.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.26-6ubuntu0.24.04.1"}]}],"versions":["3.0.26-6"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"3.0.26-6ubuntu0.24.04.1","binary_name":"libresteasy3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/resteasy@3.6.2-2ubuntu0.24.04.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2-2ubuntu0.24.04.1~esm1"}]}],"versions":["3.6.2-2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.6.2-2ubuntu0.24.04.1~esm1","binary_name":"libresteasy-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/resteasy@3.6.2-3?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.2-3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.2-3","binary_name":"libresteasy-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}},{"package":{"name":"resteasy3.0","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/resteasy3.0@3.0.26-6?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.26-6"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.26-6","binary_name":"libresteasy3.0-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-0482.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}