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

exploitDog

redhat логотип

CVE-2020-12762

Опубликовано: 02 мая 2020
Источник: redhat
CVSS3: 7.8
EPSS Низкий

Описание

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

A flaw was found in json-c. In printbuf_memappend, certain crafted values can overflow the memory allowing an attacker to write past the memory boundary. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Отчет

This is essentially a integer overflow in the 'size' variable caused by large data input. In most systems its a signed integer overflow and results in out of bounds buffer write on the heap. However the impact is greatly reduced because such an attack is only possible if the application compiled with json-c is designed to accept untrusted large json files. Also the attack vector in this case as considered as local in most practical cases.

Меры по смягчению последствий

Since this flaw is triggered by untrusted large json files. If any applications linked against json-c is used ensure that the application does not accept large json files. (or untrusted ones wherever possible)

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6json-cWill not fix
Red Hat Enterprise Linux 7json-cWill not fix
Red Hat Enterprise Linux 9json-cNot affected
Red Hat Enterprise Linux 8json-cFixedRHSA-2021:438209.11.2021
Red Hat Enterprise Linux 8libfastjsonFixedRHSA-2023:697614.11.2023
Red Hat Enterprise Linux 8json-cFixedRHSA-2021:438209.11.2021
Red Hat Enterprise Linux 8.6 Extended Update SupportlibfastjsonFixedRHSA-2024:041125.01.2024
Red Hat Enterprise Linux 8.8 Extended Update SupportlibfastjsonFixedRHSA-2024:057330.01.2024
Red Hat Enterprise Linux 9libfastjsonFixedRHSA-2023:643107.11.2023
Red Hat Enterprise Linux 9.0 Extended Update SupportlibfastjsonFixedRHSA-2024:115405.03.2024

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-190->CWE-787
https://bugzilla.redhat.com/show_bug.cgi?id=1835253libfastjson: integer overflow and out-of-bounds write via a large JSON file

EPSS

Процентиль: 39%
0.0017
Низкий

7.8 High

CVSS3

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

CVSS3: 7.8
ubuntu
больше 5 лет назад

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

CVSS3: 7.8
nvd
больше 5 лет назад

json-c through 0.14 has an integer overflow and out-of-bounds write via a large JSON file, as demonstrated by printbuf_memappend.

CVSS3: 7.8
msrc
около 5 лет назад

Описание отсутствует

CVSS3: 7.8
debian
больше 5 лет назад

json-c through 0.14 has an integer overflow and out-of-bounds write vi ...

suse-cvrf
больше 3 лет назад

Security update for json-c

EPSS

Процентиль: 39%
0.0017
Низкий

7.8 High

CVSS3