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 FencerVendor 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 productsnot 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
References
-
github.com
/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911
web
-
github.com
/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516
web
-
gist.github.com
/renbou/957f70d27470982994f12a1d70153d09
web
-
github.com
/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw
web, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-27758
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/rpyc/PYSEC-2024-44.yaml
web
-
github.com
/tomerfiliba-org/rpyc
package
-
github.com
/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255
web
Sources
- CVE List CVE-2024-27758
- GitHub Advisory GHSA-h5cg-53g7-gqjw
- NVD CVE-2024-27758
- OSV PYSEC-2024-44
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.