{"id":"UBUNTU-CVE-2020-17534","details":"There exists a race condition between the deletion of the temporary file and the creation of the temporary directory in `webkit` subproject of HTML/Java API version 1.7. A similar vulnerability has recently been disclosed in other Java projects and the fix in HTML/Java API version 1.7.1 follows theirs: To avoid local privilege escalation version 1.7.1 creates the temporary directory atomically without dealing with the temporary file: https://github.com/apache/netbeans-html4j/commit/fa70e507e5555e1adb4f6518479fc408a7abd0e6","modified":"2026-05-20T16:04:14.567913436Z","published":"2021-01-11T16:15:00Z","upstream":["CVE-2020-17534"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-17534"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra6119c0cdfccf051a846fa11b61364f5df9e7db93c310706a947f86a%40%3Cdev.netbeans.apache.org%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-17534"}],"affected":[{"package":{"name":"netbeans","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.0.2+dfsg1-4","8.0.2+dfsg1-5","8.1+dfsg1-1","8.1+dfsg2-1","8.1+dfsg2-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnb-absolutelayout-java","binary_version":"8.1+dfsg2-3"},{"binary_version":"8.1+dfsg2-3","binary_name":"libnb-apisupport3-java"},{"binary_version":"8.1+dfsg2-3","binary_name":"libnb-ide14-java"},{"binary_version":"8.1+dfsg2-3","binary_name":"libnb-java5-java"},{"binary_version":"8.1+dfsg2-3","binary_name":"netbeans"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1+dfsg3-4","10.0-3~18.04.1ubuntu1","10.0-3ubuntu2~18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libnb-absolutelayout-java","binary_version":"10.0-3ubuntu2~18.04.1"},{"binary_version":"10.0-3ubuntu2~18.04.1","binary_name":"libnb-apisupport3-java"},{"binary_version":"10.0-3ubuntu2~18.04.1","binary_name":"libnb-ide14-java"},{"binary_name":"libnb-java5-java","binary_version":"10.0-3ubuntu2~18.04.1"},{"binary_name":"netbeans","binary_version":"10.0-3ubuntu2~18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["10.0-3ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnb-absolutelayout-java","binary_version":"10.0-3ubuntu3"},{"binary_version":"10.0-3ubuntu3","binary_name":"libnb-apisupport3-java"},{"binary_version":"10.0-3ubuntu3","binary_name":"libnb-ide14-java"},{"binary_name":"libnb-java5-java","binary_version":"10.0-3ubuntu3"},{"binary_name":"netbeans","binary_version":"10.0-3ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["12.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnb-absolutelayout-java","binary_version":"12.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["12.1-3"],"ecosystem_specific":{"binaries":[{"binary_version":"12.1-3","binary_name":"libnb-absolutelayout-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["12.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libnb-absolutelayout-java","binary_version":"12.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}},{"package":{"name":"netbeans","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/netbeans?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["12.1-3","12.1-3build1"],"ecosystem_specific":{"binaries":[{"binary_version":"12.1-3build1","binary_name":"libnb-absolutelayout-java"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-17534.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}