GHSA-6qv6-q77g-7qm6

Suggest an improvement
Source
https://github.com/advisories/GHSA-6qv6-q77g-7qm6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-6qv6-q77g-7qm6/GHSA-6qv6-q77g-7qm6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6qv6-q77g-7qm6
Aliases
Published
2022-08-31T22:29:27Z
Modified
2026-07-08T06:29:09Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
NVFLARE unsafe deserialization due to Pickle
Details

Impact

NVFLARE contains a vulnerability where deserialization of Untrusted Data due to Pickle usage 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.4 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 is included in nvflare==2.1.4 This new version uses MessagePack instead of Pickle to do serialization and deserialization.

Some object serializations supported by Pickle are not supported by MessagePack. We have provided out of box support for some built-in NVFLARE objects. For object serializations unsupported by MessagePack, the user will need to convert the objects to numpy or bytes before sending over to remote machines. The list of supported object types are listed in https://github.com/NVIDIA/NVFlare/blob/2.1/nvflare/fuel/utils/fobs/README.rst

Workarounds

No workarounds available.

Additional information

Issue Found by: Oliver Sellwood (Nintorac) and Elias Hohl

Database specific
{
    "cwe_ids":  [
        "CWE-502"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-08-31T22:29:27Z",
    "nvd_published_at":  "2022-08-29T03:15:00Z",
    "severity":  "CRITICAL"
}
References

Affected packages

PyPI / nvflare

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.4

Affected versions

0.*
0.1.3
0.9.0
1.*
1.0.0
1.0.1
1.0.2
1.1.0
1.1.1
2.*
2.0.0
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5
2.0.6
2.0.7
2.0.8
2.0.9
2.0.10
2.0.11
2.0.12
2.0.13
2.0.14
2.0.15
2.0.16
2.0.18
2.0.19
2.1.0
2.1.1
2.1.2
2.1.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-6qv6-q77g-7qm6/GHSA-6qv6-q77g-7qm6.json"