CVE-2022-31605
Python vulnerability analysis and mitigation

Overview

NVFLARE (NVIDIA Federated Learning Application Runtime Environment), in versions prior to 2.1.2, contains a critical vulnerability in its utils module. The vulnerability was discovered by Oliver Sellwood and assigned CVE-2022-31605. The issue was disclosed on June 21, 2022, involving unsafe YAML deserialization where YAML files are loaded using yaml.load() instead of the secure yaml.safe_load() method (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-502 (Deserialization of Untrusted Data) and received a Critical CVSS score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). The technical issue stems from the improper implementation of YAML file loading in the utils module, where the unsafe yaml.load() function is used instead of the recommended yaml.safe_load() method (GitHub Advisory).

Impact

The vulnerability can allow an unprivileged network attacker to execute remote code, cause denial of service conditions, and impact both the confidentiality and integrity of the affected systems. The high severity score indicates the potential for significant system compromise without requiring special privileges or user interaction (GitHub Advisory).

Mitigation and workarounds

NVIDIA has released version 2.1.2 of NVFLARE which includes a patch for this vulnerability. As a workaround, users can modify their code to replace yaml.load() with yaml.safe_load(). It is strongly recommended to upgrade to the patched version 2.1.2 or implement the suggested workaround (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-21441HIGH8.9
  • PythonPython
  • urllib3
NoYesJan 07, 2026
CVE-2026-21851MEDIUM5.3
  • PythonPython
  • monai
NoNoJan 07, 2026
GHSA-f2mf-q878-gh58MEDIUM5.3
  • PythonPython
  • parsl
NoYesJan 06, 2026
CVE-2026-21883MEDIUM4.5
  • PythonPython
  • bokeh
NoYesJan 08, 2026
CVE-2026-22041LOW2
  • PythonPython
  • loggingredactor
NoYesJan 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management