Remote Code Execution (RCE) Affecting rpc.py package, versions [0.4.2,)


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
34.08% (98th 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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-RPCPY-2946719
  • published10 Jul 2022
  • disclosed10 Jul 2022
  • creditElias Hohl

Introduced: 10 Jul 2022

CVE-2022-35411  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

rpc.py is an An RPC framework based on ASGI/WSGI

Affected versions of this package are vulnerable to Remote Code Execution (RCE) because the get_serializer function in serializers.py can be forced to use insecure unpickling by sending a "serializer: pickle" HTTP header, even if it is configured to use JSON (the default).

CVSS Base Scores

version 3.1