hoch8.1
CVE-2015-1340
LXD vulnerable to Race Condition
Auswirkung
LXD before version 0.19-0ubuntu5 `doUidshiftIntoContainer()` has an unsafe `Chmod()` call that races against the stat in the `Filepath.Walk()` function. A symbolic link created in that window could cause any file on the system to have any mode of the attacker's choice. ### Specific Go Packages Affected github.com/lxc/lxd/shared
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Dafür müssen bestimmte Bedingungen erfüllt sein, was einen Angriff erschwert. Bei Erfolg: hohes 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/lxc/lxd | < 0.0.0-20151004155856-19c6961cc101 | 0.0.0-20151004155856-19c6961cc101 |
Betroffene Produkte · Linuxcontainers
| Produkt | Betroffene Versionen |
|---|---|
| Lxd | Alle Versionen |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/lxc/lxd/commit/19c6961cc1012c8a529f20807328a9357f5034f4
- https://github.com/advisories/GHSA-8mpq-fmr3-6jxv
- https://nvd.nist.gov/vuln/detail/CVE-2015-1340
- https://github.com/lxc/lxd/pull/1189
- https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1502270
- https://pkg.go.dev/vuln/GO-2021-0071