CVE-2024-36586: Github.com/AdguardTeam/AdGuardHome AdGuardHome Privilege Escalation Vulnerability Vulnerability

HIGH
Advisory Identifier: GHSA-7jp9-vgmq-c8r5
CVSS 8.8
CWE-269
Published
Advisory Summary

CVE-2024-36586 is a HIGH (CVSS 8.8) adguardhome privilege escalation vulnerability vulnerability (CWE-269: Improper Privilege Management) affecting Github.com/AdguardTeam/AdGuardHome libraries in the Go ecosystem. The issue involves adguardhome privilege escalation vulnerability. Remediation is available in the latest vendor maintenance releases.

CVE-2024-36586 at a Glance

CVE Identifier CVE-2024-36586
GHSA Identifier GHSA-7jp9-vgmq-c8r5
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-269: Improper Privilege Management
Affected Product Github.com/AdguardTeam/AdGuardHome
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Local (AV:L)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2024-36586

To remediate this vulnerability, upgrade all affected Github.com/AdguardTeam/AdGuardHome dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/AdguardTeam/AdGuardHome fixed: Latest secure release
Upgrade github.com/AdguardTeam/AdGuardHome to Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/AdguardTeam/AdGuardHome

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-36586, inspect your project dependencies for Github.com/AdguardTeam/AdGuardHome:

inspect dependencies for github.com/AdguardTeam/AdGuardHome

Analyze the terminal output to locate any version of Github.com/AdguardTeam/AdGuardHome in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-269: Improper Privilege Management, where the product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. In Github.com/AdguardTeam/AdGuardHome, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

An issue in AdGuardHome v0.93 to latest allows unprivileged attackers to escalate privileges via overwriting the AdGuardHome binary.

CVE-2024-36586 Affected Github.com/AdguardTeam/AdGuardHome Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
github.com/AdguardTeam/AdGuardHome
Go
≥ 0.93
≤ 0.107.51

References

Frequently Asked Questions

What is CVE-2024-36586?
CVE-2024-36586 is a security vulnerability in Github.com/AdguardTeam/AdGuardHome involving AdGuardHome privilege escalation vulnerability under CWE-269: Improper Privilege Management.
Which Github.com/AdguardTeam/AdGuardHome versions are affected?
Affected versions include releases prior to current release patches across affected packages: github.com/AdguardTeam/AdGuardHome.
What version fixes CVE-2024-36586?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/AdguardTeam/AdGuardHome affected?
Yes, github.com/AdguardTeam/AdGuardHome is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-36586?
CVE-2024-36586 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2024-36586?
CVE-2024-36586 is classified under CWE-269: Improper Privilege Management (The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2024-36586?
Run the dependency tree command: 'inspect dependencies for github.com/AdguardTeam/AdGuardHome'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7jp9-vgmq-c8r5",
  "modified" : "2024-07-08T21:16:28Z",
  "published" : "2024-06-13T21:30:52Z",
  "aliases" : [ "CVE-2024-36586" ],
  "summary" : "AdGuardHome privilege escalation vulnerability",
  "details" : "An issue in AdGuardHome v0.93 to latest allows unprivileged attackers to escalate privileges via overwriting the AdGuardHome binary.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:H/SI:H/SA:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/AdguardTeam/AdGuardHome"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.93"
      }, {
        "last_affected" : "0.107.51"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36586"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/AdguardTeam/AdGuardHome"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/go-compile/security-advisories/blob/master/vulns/CVE-2024-36586.md"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-269" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-06-13T23:18:26Z",
    "nvd_published_at" : "2024-06-13T19:15:51Z"
  }
}