{"id":"CVE-2022-31604","aliases":["CVE-2022-31604","GHSA-rcxc-3w2m-mp8h","PYSEC-2022-231"],"related":[],"kind":"vulnerability","state":"published","title":"Unsafe deserialisation in the PKI implementation scheme of NVFlare","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nNVFLARE 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.\nAll versions before 2.1.2 are affected.\n\nCVSS Score = 9.8\n[AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H](https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fnvd.nist.gov%2Fvuln-metrics%2Fcvss%2Fv3-calculator%3Fvector%3DAV%3AN%2FAC%3AL%2FPR%3AN%2FUI%3AN%2FS%3AU%2FC%3AH%2FI%3AH%2FA%3AH&data=05%7C01%7Cchesterc%40nvidia.com%7Ce9600bde16854b0b380008da4fc544f7%7C43083d15727340c1b7db39efd9ccc17a%7C0%7C0%7C637910005925574215%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5kBrXEmAbqp8R31JCH%2FG95MUly72UPVihnBwiRFmvBY%3D&reserved=0)\n\n\n\n### Patches\nThe patch will be included in nvflare==2.1.2\n\n### Workarounds\nReplace pickle serialization with JSON and change the code accordingly\n\nAdditional information\nIssue Found by: Oliver Sellwood (@Nintorac)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2022-06-22T21:22:42.000Z","modified":"2026-07-08T06:27:52.366Z","severity":{"scorer":"nvidia","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"nvidia","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"All versions prior to 2.1.2","status":"affected"}],"vendor":"NVIDIA","product":"NVIDIA FLARE","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.2"}],"ecosystem":"PyPI","package":"nvflare","purl":"pkg:pypi/nvflare","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.1.2"}],"vendor":"nvidia","product":"nvflare","cpe":"cpe:2.3:a:nvidia:nvflare:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.1.2"}],"ecosystem":"PyPI","package":"nvflare","purl":"pkg:pypi/nvflare","source":"pysec"}],"references":[{"url":"https://github.com/NVIDIA/NVFlare/security/advisories/GHSA-rcxc-3w2m-mp8h","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31604","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/NVIDIA/NVFlare/commit/fd018eea9dff925a765079a94c2f017920fcda67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/NVIDIA/NVFlare","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/nvflare/PYSEC-2022-231.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"nvidia","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31604","url":"https://www.cve.org/CVERecord?id=CVE-2022-31604","licence":"CVE Terms of Use","modified":"2024-08-03T07:26:00.997Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rcxc-3w2m-mp8h","url":"https://github.com/advisories/GHSA-rcxc-3w2m-mp8h","licence":"CC-BY-4.0","modified":"2026-07-08T06:27:52.366Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31604","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31604","licence":"Public domain","modified":"2026-06-17T04:45:46.090Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2022-231","url":"https://osv.dev/vulnerability/PYSEC-2022-231","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:31.164Z"}],"updatedAt":"2026-11-25T22:58:12.672Z","epss":{"score":0.02212,"percentile":0.83115,"date":"2026-12-01T12:00:22.000Z"}}