CVE-2022-31605CWE-502

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()

Critical · published July 1, 2022

CVSS v3.1
9.8
EPSS
2%
Percentile
81.3
In the wild
Unconfirmed
What it is

🚨 A crafty flaw in NVFLARE's YAML handling lets attackers load untrusted data, opening the door to a world of chaos! 🔥 Think of it like a restaurant kitchen that accepts any recipe without checking for allergens. A single faulty instruction could lead to a disastrous meal — or in this case, remote code execution and a full server meltdown! An attacker could execute arbitrary code remotely, compromising your entire system's integrity and confidentiality. This could lead to a complete Denial of Service (DoS), leaving your services down and users frustrated. The implications are absolutely devastating if sensitive information is exposed or manipulated.

Put simply

Think of it like a restaurant kitchen that accepts any recipe without checking for allergens. A single faulty instruction could lead to a disastrous meal — or in this case, remote code execution and a full server meltdown! This vulnerability arises from the use of `yaml.load()` instead of the safer `yaml.safe_load()`, allowing untrusted YAML files to be deserialized. It opens pathways for attackers to exploit the system through Remote Code Execution (RCE).

What to do

An attacker could execute arbitrary code remotely, compromising your entire system's integrity and confidentiality. This could lead to a complete Denial of Service (DoS), leaving your services down and users frustrated. The implications are absolutely devastating if sensitive information is exposed or manipulated. Upgrade NVFLARE to version 2.1.2 or later immediately to patch this vulnerability. Additionally, review your YAML file handling practices and ensure that only trusted data sources are used. Don’t forget to assess your overall security posture during this upgrade! You've got this! Follow these steps, and you'll be back on track in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02079 · 81.3th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2022-07-01T17:15Z
EPSS history
Timeline
  • 01 JUL 17:15Z
    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()
    cvelistv5