Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-36587: n/a

0
High
VulnerabilityCVE-2024-36587cvecve-2024-36587
Published: Thu Jun 13 2024 (06/13/2024, 00:00:00 UTC)
Source: CVE Database V5

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/26/2026, 05:06:16 UTC

Technical Analysis

CVE-2024-36587 is a vulnerability identified in DNSCrypt-proxy versions from 2.0.0alpha9 up to 2.1.5, where insecure file permissions on the dnscrypt-proxy binary allow a non-privileged local attacker to overwrite this binary and escalate their privileges to root. DNSCrypt-proxy is a widely used tool designed to secure DNS traffic by encrypting DNS queries, enhancing privacy and security for end users. The vulnerability stems from improper permission settings (classified under CWE-266: Incorrect Privilege Assignment), which fail to restrict write access to the dnscrypt-proxy executable. This misconfiguration enables attackers who have local access to the system to replace or modify the binary, effectively gaining root-level control over the affected system. The CVSS v3.1 base score of 7.8 reflects a high severity rating, with attack vector being local (AV:L), low attack complexity (AC:L), requiring low privileges (PR:L), no user interaction (UI:N), and impacting confidentiality, integrity, and availability (C:H/I:H/A:H). Although no public exploits have been reported yet, the vulnerability presents a significant risk due to the potential for full system compromise. The lack of official patches at the time of publication necessitates immediate attention to mitigate risk. This vulnerability is particularly critical in environments where DNSCrypt-proxy is deployed on multi-user systems or servers where local user access is possible. Attackers exploiting this flaw can bypass security controls, manipulate DNS traffic, and potentially use the compromised system as a foothold for further network intrusion.

Potential Impact

The impact of CVE-2024-36587 is substantial for organizations using affected versions of DNSCrypt-proxy. Successful exploitation results in full root privilege escalation, allowing attackers to gain complete control over the compromised system. This can lead to unauthorized access to sensitive data, manipulation or disruption of DNS traffic, installation of persistent malware, and lateral movement within the network. The confidentiality, integrity, and availability of the affected systems are all severely compromised. Organizations relying on DNSCrypt-proxy for DNS security and privacy may find their defenses undermined, potentially exposing internal network infrastructure and user data. The local attack vector limits exploitation to users with some level of system access, but in environments with multiple users or shared hosting, this risk is amplified. Additionally, compromised systems can be leveraged as launch points for broader attacks, increasing the overall threat to organizational cybersecurity posture.

Mitigation Recommendations

To mitigate CVE-2024-36587, organizations should immediately audit and restrict file permissions on the dnscrypt-proxy binary to ensure only root or authorized administrators have write access. Specifically, the binary should have permissions set to 755 or more restrictive, and ownership should be assigned to root. Employ filesystem integrity monitoring tools to detect unauthorized changes to the dnscrypt-proxy executable. Limit local user access to trusted personnel and enforce the principle of least privilege to reduce the risk of local exploitation. Until official patches are released, consider deploying compensating controls such as mandatory access controls (e.g., SELinux or AppArmor) to restrict modification capabilities on critical binaries. Regularly update DNSCrypt-proxy to the latest stable versions once patches addressing this vulnerability become available. Additionally, monitor system logs for suspicious activity indicative of privilege escalation attempts. For environments where local access cannot be tightly controlled, consider alternative DNS encryption solutions with verified secure permission configurations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2024-05-30T00:00:00.000Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6c61b7ef31ef0b5637a8

Added to database: 2/25/2026, 9:40:49 PM

Last enriched: 2/26/2026, 5:06:16 AM

Last updated: 4/12/2026, 1:56:56 PM

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses