{"id":"UBUNTU-CVE-2024-36587","details":"Insecure permissions in DNSCrypt-proxy v2.0.0alpha9 to v2.1.5 allows non-privileged attackers to escalate privileges to root via overwriting the binary dnscrypt-proxy.","modified":"2026-05-20T16:09:00.770647054Z","published":"2024-06-13T19:15:00Z","upstream":["CVE-2024-36587"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-36587"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-36587"},{"type":"REPORT","url":"https://github.com/go-compile/security-advisories/blob/master/vulns/CVE-2024-36587.md"}],"affected":[{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6.0-2","1.6.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.1-1","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.5-1","1.9.5-1build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.9.5-1build1","binary_name":"dnscrypt-proxy"},{"binary_version":"1.9.5-1build1","binary_name":"dnscrypt-proxy-plugins"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.19+ds1-2","2.0.19+ds1-3","2.0.31+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.31+ds1-1","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.45+ds1-1","2.0.45+ds1-1ubuntu0.1~esm1","2.0.45+ds1-1ubuntu0.1~esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.45+ds1-1ubuntu0.1~esm2","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.45+ds1-1.1build1","2.0.45+ds1-1.2","2.0.45+ds1-1.2ubuntu0.24.04.1","2.0.45+ds1-1.2ubuntu0.24.04.2","2.0.45+ds1-1.2ubuntu0.24.04.2+esm1","2.0.45+ds1-1.2ubuntu0.24.04.3","2.0.45+ds1-1.2ubuntu0.24.04.3+esm1","2.0.45+ds1-1.2ubuntu0.24.04.3+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.0.45+ds1-1.2ubuntu0.24.04.3+esm2","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.7+ds1-1","2.1.8+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.8+ds1-1","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}},{"package":{"name":"dnscrypt-proxy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dnscrypt-proxy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.8+ds1-1","2.1.14+ds1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.1.14+ds1-1","binary_name":"dnscrypt-proxy"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36587.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}