Bug 2292346 (CVE-2024-36587)

Summary: CVE-2024-36587 DNSCrypt-proxy: escalate privileges to root via overwriting the binary dnscrypt-proxy
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cmm11
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2292347, 2292348    
Bug Blocks:    

Description Rohit Keshri 2024-06-14 05:47:46 UTC
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.

https://github.com/go-compile/security-advisories/blob/master/vulns/CVE-2024-36587.md

Comment 1 Rohit Keshri 2024-06-14 05:48:07 UTC
Created dnscrypt-proxy tracking bugs for this issue:

Affects: epel-all [bug 2292347]
Affects: fedora-all [bug 2292348]

Comment 2 cmm11 2024-11-17 14:56:33 UTC
This CVE does not affect Fedora. It is only an issue if:
"dnscrypt-proxy has been installed as a service via ./dnscrypt-proxy -service install"

Which is the old generic linux install method (if someone didn't want to use a distro's package).