CVE-2024-8038 Vulnerable juju introspection abstract UNIX domain socket
Local attackers can cause denial of service by accessing an unauthenticated abstract UNIX domain socket used for introspection in Juju.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-8038?
CVE-2024-8038 is a high-severity denial of service vulnerability in Canonical Ltd. Juju, published on 2 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Vulnerable juju introspection abstract UNIX domain socket. An abstract UNIX domain socket responsible for introspection is available without authentication locally to network namespace users. This enables denial of service attacks.
Weakness: CWE-420
Which versions are affected by CVE-2024-8038?
3 open source packages ship an affected version, including github.com/juju/juju. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/juju/juju Go | All versions | None |
github.com/juju/juju Go | All versions | 0.0.0-20240829052008-43f0fc59790d |
github.com/juju/juju Go | All versions | 0.0.0-20240829052008-43f0fc59790d |
Products include Canonical Juju.
How do I fix CVE-2024-8038?
Upgrade github.com/juju/juju to 0.0.0-20240829052008-43f0fc59790d or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-8038 being exploited?
There is no known exploitation of CVE-2024-8038 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ltd. Juju
- CVE-2026-4370 Improper TLS Client/Server authentication and certificate verification on Database Cluster
- CVE-2026-5412 Juju CloudSpec API could leak senstive information
- CVE-2017-9232 Juju uses a UNIX domain socket without setting appropriate permissions
- CVE-2026-32693 Unauthorized access to Kubernetes secrets in Juju
- CVE-2025-0928 Arbitrary executable upload via authenticated endpoint
Sources
Also known as GHSA-xwgj-vpm9-q2rq, GO-2024-3175.