Bug 2269242 (CVE-2024-27758)

Summary: CVE-2024-27758 python-rpyc: Remote attacker can craft a class, resulting in remote code execution
Product: [Other] Security Response Reporter: Marco Benatto <mbenatto>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2269243, 2269244    
Bug Blocks:    

Description Marco Benatto 2024-03-12 19:56:57 UTC
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.

https://gist.github.com/renbou/957f70d27470982994f12a1d70153d09
https://github.com/tomerfiliba-org/rpyc/security/advisories/GHSA-h5cg-53g7-gqjw

Comment 1 Marco Benatto 2024-03-12 19:57:18 UTC
Created python-rpyc tracking bugs for this issue:

Affects: epel-all [bug 2269243]
Affects: fedora-all [bug 2269244]