CVE-2022-31605 Unsafe yaml deserialization in NVFlare
An unprivileged network attacker can achieve remote code execution or denial of service in NVIDIA FLARE due to unsafe YAML deserialization.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-31605?
CVE-2022-31605 is a critical unsafe deserialization vulnerability in NVIDIA FLARE, published on 1 Jul 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
NVFLARE, versions prior to 2.1.2, 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.
Weakness: CWE-502
Which versions are affected by CVE-2022-31605?
3 open source packages ship an affected version, including nvflare. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nvflare PyPI | All versions | 2.1.2 |
nvflare PyPI | All versions | 2.1.2 |
nvflare PyPI | All versions | 2.1.2 |
Products include Nvidia Nvflare.
How do I fix CVE-2022-31605?
Upgrade nvflare to 2.1.2 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2022-31605 being exploited?
There is no known exploitation of CVE-2022-31605 in the wild and no public exploit code.
Other vulnerabilities in NVIDIA FLARE
- CVE-2026-24178 NVIDIA NVFlare Dashboard: Authorization bypass through user-controlled key via user management and authentication system
- CVE-2022-34668 NVFLARE unsafe deserialization due to Pickle
- CVE-2022-31604 Unsafe deserialisation in the PKI implementation scheme of NVFlare
- CVE-2026-24186 Deserialization in FLARE SDK
- CVE-2026-24204 Path traversal in FLARE SDK
Sources
Also known as GHSA-hrf3-622q-8366, PYSEC-2022-232.