Lucene search

K
osvGoogleOSV:GHSA-HRF3-622Q-8366
HistoryJun 22, 2022 - 9:22 p.m.

Unsafe yaml deserialization in NVFlare

2022-06-2221:22:46
Google
osv.dev
14
nvflare
yaml
deserialization
vulnerability
network attacker
remote code execution
denial of service
confidentiality
integrity
patch
version 2.1.2
workaround
oliver sellwood

EPSS

0.003

Percentile

71.7%

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)

EPSS

0.003

Percentile

71.7%

Related for OSV:GHSA-HRF3-622Q-8366