Skip to content
OpenAdvisories
High · 8.4 CVE-2024-27758 EUVD-2024-0160GHSA-h5cg-53g7-gqjwPYSEC-2024-44

RPyC's missing security check results in code execution when using numpy.array on the server-side.

Published Mar 12, 2024 · Updated Aug 2, 2024 · Assigned by mitre

Description

In RPyC before 6.0.0, when a server exposes a method that calls the attribute named __array__ for a client-provided netref (e.g., np.array(client_netref)), a remote attacker can craft a class that results in remote code execution.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rpyc 6.0.0-1 —
Debian 13 rpyc 6.0.0-1 —
Debian 12 rpyc No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rpyc No fix yet —
Ubuntu 26.04 LTS rpyc No fix yet —
Ubuntu 25.10 rpyc No fix yet —
Ubuntu 24.04 LTS rpyc No fix yet —
Ubuntu 22.04 LTS rpyc No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS rpyc No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 python-rpyc +1 4.1.5-bp155.3.3.1 openSUSE-SU-2024:0082-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-rpyc 6.0.2-1.5 openSUSE-SU-2026:12040-1
openSUSE Leap 15.5 python-rpyc +1 4.1.5-bp155.3.3.1 openSUSE-SU-2024:0082-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI rpyc >= 4.0.0, < 6.0.0 6.0.0 GHSA-h5cg-53g7-gqjw
PyPI rpyc < 6.0.0 6.0.0 PYSEC-2024-44

Advisories 2

References