{"id":"UBUNTU-CVE-2024-27758","details":"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.","modified":"2026-05-20T16:17:08.583400246Z","published":"2024-03-12T16:15:00Z","upstream":["CVE-2024-27758"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-27758"},{"type":"REPORT","url":"https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw"},{"type":"REPORT","url":"https://github.com/tomerfiliba-org/rpyc/issues/551"},{"type":"REPORT","url":"https://github.com/tomerfiliba-org/rpyc/commit/bba1d3562e6f9f1256ec64048cc23001c0bb7516"},{"type":"REPORT","url":"https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-27758"}],"affected":[{"package":{"name":"rpyc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rpyc?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.4-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.4-1","binary_name":"python3-rpyc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27758.json"}},{"package":{"name":"rpyc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rpyc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.0.1-1","5.0.1-2","5.0.1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-rpyc","binary_version":"5.0.1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27758.json"}},{"package":{"name":"rpyc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rpyc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.3.1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3.1-1","binary_name":"python3-rpyc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27758.json"}},{"package":{"name":"rpyc","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rpyc?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-rpyc","binary_version":"6.0.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27758.json"}},{"package":{"name":"rpyc","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rpyc?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.1-1","6.0.2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-rpyc","binary_version":"6.0.2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-27758.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}