Описание
cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
A flaw was found in the cJSON library. A specially crafted JSON pointer string can cause an out-of-bounds access in the decode_array_index_from_pointer function in the cJSON_Utils.c file due to improper array bounds checking, causing a crash to the application linked to the library and resulting in a denial of service.
Отчет
Only applications using the cJSON JSON Pointer API, where specially crafted JSON pointer strings can be supplied by untrusted users are vulnerable to this issue, limiting the exposure and the impact of this vulnerability.
Меры по смягчению последствий
Applications can validate the JSON pointer strings, ensuring they contain only numeric indexes, before calling the cJSON JSON Pointer API functions.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Satellite 6 | cjson | Affected |
Показывать по
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_ ...
cJSON 1.5.0 through 1.7.18 allows out-of-bounds access via the decode_array_index_from_pointer function in cJSON_Utils.c, allowing remote attackers to bypass array bounds checking and access restricted data via malformed JSON pointer strings containing alphanumeric characters.
EPSS
7.5 High
CVSS3