CVE-2024-8037
"Ubuntu Juju Hook Tool UNIX Domain Socket Argument Injection"
Description
Vulnerable juju hook tool abstract UNIX domain socket. When combined with an attack of JUJU_CONTEXT_ID, any user on the local system with access to the default network namespace may connect to the @/var/lib/juju/agents/unit-xxxx-yyyy/agent.socket and perform actions that are normally reserved to a juju charm.
INFO
Published Date :
Oct. 2, 2024, 11:15 a.m.
Last Modified :
Aug. 26, 2025, 5:48 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the affected govulncheck-vulndb package.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-8037.
                                        
| URL | Resource | 
|---|---|
| https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x | Patch Vendor Advisory | 
| https://www.cve.org/CVERecord?id=CVE-2024-8037 | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-8037 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-8037
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-8037 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-8037 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Aug. 26, 2025 Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions up to (excluding) 2.9.51 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.1.0 up to (excluding) 3.1.10 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.3.0 up to (excluding) 3.3.7 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.4 up to (excluding) 3.4.6 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.5.0 up to (excluding) 3.5.4 *cpe:2.3:a:canonical:juju:*:*:*:*:*:*:*:* versions from (including) 3.2.0 up to (including) 3.2.4 Added Reference Type Canonical Ltd.: https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x Types: Patch, Vendor Advisory Added Reference Type Canonical Ltd.: https://www.cve.org/CVERecord?id=CVE-2024-8037 Types: Third Party Advisory 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Nov. 01, 2024 Action Type Old Value New Value Added CWE CISA-ADP CWE-276 
- 
                            CVE Received by [email protected]Oct. 02, 2024 Action Type Old Value New Value Added Description Vulnerable juju hook tool abstract UNIX domain socket. When combined with an attack of JUJU_CONTEXT_ID, any user on the local system with access to the default network namespace may connect to the @/var/lib/juju/agents/unit-xxxx-yyyy/agent.socket and perform actions that are normally reserved to a juju charm. Added Reference Canonical Ltd. https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x [No types assigned] Added Reference Canonical Ltd. https://www.cve.org/CVERecord?id=CVE-2024-8037 [No types assigned] Added CVSS V3.1 Canonical Ltd. AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:H 
 
                         
                         
                         
                                             
                                            