Skip to content
Fencer Intel
high 8.4

CVE-2024-27758 json

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

published 2y ago modified 4mo ago also GHSA-h5cg-53g7-gqjw , PYSEC-2024-44 , EUVD-2024-0160

cvss
8.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 43%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi rpyc 6.0.0
  • rpyc_project rpyc 6.0.0
  • rpyc Debian 14, Debian 13 6.0.0-1

debian advisories DEBIAN-CVE-2024-27758

  • python-rpyc openSUSE Tumbleweed 6.0.2-1.5
  • python-rpyc Package Hub 15 SP5, openSUSE Leap 15.5 4.1.5-bp155.3.3.1
  • python-rpyc-test Package Hub 15 SP5, openSUSE Leap 15.5 4.1.5-bp155.3.3.1

opensuse advisories openSUSE-SU-2026:12040-1openSUSE-SU-2024:0082-1

Is CVE-2024-27758 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-27758 updated cvss 8.5

python-rpyc: Remote attacker can craft a class, resulting in remote code execution

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
2y ago

Exploit prediction

0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 8.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Affected packages

ecosystem package affected fixed in
pypi rpyc
>=4.0.0, <6.0.0
<6.0.0
6.0.0

Affected products

  • rpyc_project rpyc

Classification

Weakness
  • CWE-306 Missing Authentication for Critical Functionality
  • CWE-358 Improperly Implemented Security Check for Standard
  • CWE-913 Improper Control of Dynamically-Managed Code Resources

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.