CVE-2024-27758
HIGH8.5EPSS 3.6%RPyC's missing security check results in code execution when using numpy.array on the server-side.
發布日:2024/3/6修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/rpycfrom 0
- PyPI/rpyc>= 4.0.0, < 6.0.0
- PyPI/rpycfrom 0, < 6.0.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N |
| osv | CVSS 3.1 | HIGH8.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-27758
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-27758
- PATCHhttps://github.com/tomerfiliba-org/rpyc
- WEBhttps://gist.github.com/renbou/957f70d27470982994f12a1d70153d09
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/rpyc/PYSEC-2024-44.yaml
- WEBhttps://github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255
- WEBhttps://github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911
- WEBhttps://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516
- WEBhttps://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw