CVE-2022-31604
JSON

9.8critical

Unsafe deserialisation in the PKI implementation scheme of NVFlare

Severity
9.8critical CVSS:3.1 by nvidia
Exploit likelihood
2.21% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
nvidia
Also known as
GHSA-rcxc-3w2m-mp8hPYSEC-2022-231

Description

NVFLARE, versions prior to 2.1.2, contains a vulnerability in its PKI implementation module, where The CA credentials are transported via pickle and no safe deserialization. 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.

Affected

Product or packageVersionsReported by
NVIDIA NVIDIA FLAREAll versions prior to 2.1.2CVE List
nvflare (PyPI)before 2.1.2GitHub Advisory Database, PyPA Advisory Database
nvidia nvflarebefore 2.1.2NVD

All scores

nvidia9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

NVFLARE, versions prior to 2.1.2, contains a vulnerability in its PKI implementation module, where The CA credentials are transported via pickle and no safe deserialization. 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.

GitHub Advisory Database
Impact

NVFLARE contains a vulnerability in its PKI implementation module, where The CA credentials are transported via pickle and no safe deserialization. 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

Replace pickle serialization with JSON and change the code accordingly

Additional information Issue Found by: Oliver Sellwood (@Nintorac)

NVD (es)

NVFLARE, versiones anteriores a 2.1.2, contiene una vulnerabilidad en su módulo de implementación de PKI, donde las credenciales de la CA son transportadas por medio de pickle y sin deserialización segura. La deserialización de datos no confiables puede permitir a un atacante de red no privilegiado causar Ejecución de Código Remota, Denegación de Servicio, e impacto tanto en la Confidencialidad como en la Integridad

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31604 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-rcxc-3w2m-mp8h changed 2026-07-08CC-BY-4.0
NVDCVE-2022-31604 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2022-231 changed 2023-11-08CC-BY-4.0