Remote Code Execution (RCE) Affecting rpyc package, versions [,6.0.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-RPYC-6346770
  • published1 Mar 2024
  • disclosed1 Mar 2024
  • creditArtem Mikheev

Introduced: 1 Mar 2024

CVE-2024-27758  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade rpyc to version 6.0.0 or higher.

Overview

rpyc is a transparent library for symmetrical remote procedure calls, clustering, and distributed-computing.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) when the server-side invokes the __array__ attribute, such as through np.array(x), making it critical for scenarios where untrusted input is processed.

CVSS Scores

version 3.1