{"id":"UBUNTU-CVE-2018-14335","details":"An issue was discovered in H2 1.4.197. Insecure handling of permissions in the backup function allows attackers to read sensitive files (outside of their permissions) via a symlink to a fake database file.","modified":"2025-10-24T04:47:08Z","published":"2018-07-24T13:29:00Z","upstream":["CVE-2018-14335"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14335"},{"type":"REPORT","url":"https://gist.github.com/owodelta/9714faf9a86435cef5a99d4930eaee20"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-14335"}],"affected":[{"package":{"name":"h2database","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/h2database@1.4.191-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.185-1","1.4.185-2","1.4.190-1","1.4.191-1","1.4.191-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libh2-java","binary_version":"1.4.191-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14335.json"}},{"package":{"name":"h2database","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/h2database@1.4.196-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.196-1","1.4.196-2","1.4.196-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libh2-java","binary_version":"1.4.196-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14335.json"}},{"package":{"name":"h2database","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/h2database@1.4.197-4+deb10u1build0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.197-4","1.4.197-4+deb10u1build0.20.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libh2-java","binary_version":"1.4.197-4+deb10u1build0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14335.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}