Unsafe yaml deserialization in NVFlare
Impact
NVFLARE contains a vulnerability in its utils module, where YAML files are loaded via yaml.load() instead of yaml.safe_load(). The deserialization of Untrusted Data, may allow an unprivileged network attacker to cause Remote Code Execution, Denial Of Service, and Impact to both Confidentiality and Integrity.
All versions before 2.1.2 are affected. CVSS Score = 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Patches
The patch will be included in nvflare==2.1.2
Workarounds
Change yaml.load() to yaml.safe_load()
Additional information
Issue Found by: Oliver Sellwood (@Nintorac)
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | nvflare | < 2.1.2 | 2.1.2 |
Verweise
- https://github.com/NVIDIA/NVFlare/security/advisories/GHSA-hrf3-622q-8366
- https://nvd.nist.gov/vuln/detail/CVE-2022-31605
- https://github.com/NVIDIA/NVFlare/commit/4de9782697ecb12f39bcae83221bd8d3498959be
- https://github.com/NVIDIA/NVFlare
- https://github.com/pypa/advisory-database/tree/main/vulns/nvflare/PYSEC-2022-232.yaml
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-502- Plattform
- Python (PyPI)
- Paket
nvflare- Veröffentlicht
- 22.06.2022
- Aktualisiert
- 11.10.2026 13:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2022-232 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-hrf3-622q-8366 - CC BY 4.0
Schwachstellenhistorie: nvflare
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 5
- Erste → letzte
- 03.2022 04.2026
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 4
- Hoch 1
Veröffentlichungen pro Jahr
- 2022: 4
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 1
-
Unsafe yaml deserialization in NVFlare dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.