CVE-2024-8037
Vulnerable juju hook tool abstract UNIX domain socket
Auswirkung
### Impact 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. ### Patches Patch: https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206 Patched in: - 3.5.4 - 3.4.6 - 3.3.7 - 3.1.10 - 2.9.51 ### Workarounds No workarounds available. ### References [GHSA-mh98-763h-m9v4](https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4) https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/juju/juju | < 0.0.0-20240820065804-2f2ec128ef5a | 0.0.0-20240820065804-2f2ec128ef5a |
Betroffene Produkte · Canonical
| Produkt | Betroffene Versionen |
|---|---|
| Juju | vor 2.9.51 ab 3.1.0 vor 3.1.10 ab 3.2.0 bis einschließlich 3.2.4 ab 3.3.0 vor 3.3.7 ab 3.4 vor 3.4.6 ab 3.5.0 vor 3.5.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/juju/juju/security/advisories/GHSA-8v4w-f4r9-7h6x
- https://www.cve.org/CVERecord?id=CVE-2024-8037
- https://github.com/advisories/GHSA-8v4w-f4r9-7h6x
- https://github.com/juju/juju/security/advisories/GHSA-mh98-763h-m9v4
- https://nvd.nist.gov/vuln/detail/CVE-2024-8037
- https://github.com/juju/juju/commit/2f2ec128ef5a8ca81fc86ae79cfcdbab0007c206
- https://github.com/juju/juju/blob/725800953aaa29dbeda4f806097bf838e61644dd/worker/uniter/paths.go#L222
- https://pkg.go.dev/vuln/GO-2024-3174