hoch7.4
CVE-2022-31668
Harbor fails to validate the user permissions when updating p2p preheat policies
Auswirkung
Harbor fails to validate the user permissions when updating p2p preheat policies. By sending a request to update a p2p preheat policy with an id that belongs to a project that the currently authenticated user doesn't have access to, the attacker could modify p2p preheat policies configured in other projects.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/goharbor/harbor | >= 2.0.0, < 2.4.3 | 2.4.3 |
| go | github.com/goharbor/harbor/src | < 0.0.0-20220630175814-b4ef1db | 0.0.0-20220630175814-b4ef1db |
Betroffene Produkte · Linuxfoundation
| Produkt | Betroffene Versionen |
|---|---|
| Harbor | ab 2.0.0 vor 2.4.3 ab 2.5.0 vor 2.5.2 |