Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-8rq8-f485-7v8x

Опубликовано: 09 июл. 2022
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

rpc.py vulnerable to Deserialization of Untrusted Data

rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the "serializer: pickle" HTTP header is sent. In other words, although JSON (not Pickle) is the default data format, an unauthenticated client can cause the data to be processed with unpickle.

Per the maintainer, rpc.py is not designed for an API that is open to the outside world, and external requests cannot reach rpc.py in real world use.

A fix exists on the master branch. As a workaround, use the following code to turn off pickle in older versions:

del SERIALIZER_NAMES[PickleSerializer.name] del SERIALIZER_TYPES[PickleSerializer.content_type]

Пакеты

Наименование

rpc.py

pip
Затронутые версииВерсия исправления

>= 0.4.2, <= 0.6.0

Отсутствует

EPSS

Процентиль: 99%
0.71334
Высокий

9.8 Critical

CVSS3

Дефекты

CWE-502
CWE-522

Связанные уязвимости

CVSS3: 9.8
nvd
больше 3 лет назад

rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the "serializer: pickle" HTTP header is sent. In other words, although JSON (not Pickle) is the default data format, an unauthenticated client can cause the data to be processed with unpickle.

EPSS

Процентиль: 99%
0.71334
Высокий

9.8 Critical

CVSS3

Дефекты

CWE-502
CWE-522