CVE-2024-27758
In RPyC before 6.0.0, when a server exposes a method that calls the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- gist.github.com/renbou/957f70d27470982994f12a1d70153d09
- github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw
- github.com/tomerfiliba-org/rpyc/commit/9f45f8269d4106905db61d82cd529cacdb178911
- github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516
- github.com/tomerfiliba-org/rpyc/blob/5.3.1/rpyc/core/netref.py#L252-L255
- nvd.nist.gov/vuln/detail/CVE-2024-27758
- github.com/pypa/advisory-database/tree/main/vulns/rpyc/PYSEC-2024-44.yaml
- github.com/advisories/GHSA-h5cg-53g7-gqjw
- nvd.nist.gov/vuln/detail/CVE-2024-27758
- cve.org/CVERecord?id=CVE-2024-27758
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.