Описание
NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by supplying deeply nested JSON structures. Attackers can craft JSON payloads exceeding the recursion limit to trigger an unhandled RecursionError that crashes the Python process.
A flaw was found in NLTK. A remote attacker can exploit an unbounded recursion vulnerability in the JSONTaggedDecoder.decode_obj() function by supplying deeply nested JSON structures. This can cause the Python process to crash, leading to a denial of service.
Отчет
A denial of service flaw exists in NLTK's JSONTaggedDecoder, allowing remote attackers to crash Python processes by submitting crafted, deeply nested JSON data. This vulnerability poses a significant risk to Red Hat products that process untrusted JSON input using affected NLTK versions, as it can lead to service unavailability without requiring authentication or user interaction.
Меры по смягчению последствий
To mitigate this vulnerability, implement input validation to restrict the maximum nesting depth of JSON structures processed by NLTK. Ensure that any services or applications utilizing NLTK's JSONTaggedDecoder do not process untrusted or excessively nested JSON input without prior sanitization. If NLTK is not required to process external JSON, restrict its exposure to such data.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Exploit Intelligence | exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 | Not affected | ||
| Lightspeed Core | lightspeed-core/lightspeed-stack-rhel9 | Not affected | ||
| Lightspeed Core | lightspeed-core/rag-tool-cpu-rhel9 | Not affected | ||
| Lightspeed Core | lightspeed-core/rag-tool-cuda-12.9-rhel9 | Not affected | ||
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-ocp-rag-rhel9 | Not affected | ||
| OpenShift Lightspeed | openshift-lightspeed/lightspeed-service-api-rhel9 | Not affected | ||
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9 | Not affected | ||
| Red Hat Ansible Automation Platform 2 | ansible-automation-platform-25/lightspeed-chatbot-rhel8 | Affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-core-rhel9 | Not affected | ||
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ogx-core-rhel9 | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
7.5 High
CVSS3
Связанные уязвимости
(NLTK versions before 3.9.4 contain an unbounded recursion vulnerabilit ...)
NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by supplying deeply nested JSON structures. Attackers can craft JSON payloads exceeding the recursion limit to trigger an unhandled RecursionError that crashes the Python process.
NLTK versions before 3.9.4 contain an unbounded recursion vulnerabilit ...
NLTK versions before 3.9.4 contain an unbounded recursion vulnerability in JSONTaggedDecoder.decode_obj() that allows attackers to cause denial of service by supplying deeply nested JSON structures. Attackers can craft JSON payloads exceeding the recursion limit to trigger an unhandled RecursionError that crashes the Python process.
EPSS
7.5 High
CVSS3