GLSA 202403-03: UltraJSON: Multiple Vulnerabilities

Опасность:средняя
Заголовок:UltraJSON: Multiple Vulnerabilities
Дата:03.03.2024
Ошибки: #855689
ID:202403-03

Сводка

Multiple vulnerabilities have been discovered in UltraJSON, the worst of which could lead to key confusion and value overwriting.

Назначение

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python 3.8+.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-python/ujson < 5.4.0 >= 5.4.0 All supported architectures

Описание

Affected versions were found to improperly decode certain characters. JSON strings that contain escaped surrogate characters not part of a proper surrogate pair were decoded incorrectly. Besides corrupting strings, this allowed for potential key confusion and value overwriting in dictionaries. All users parsing JSON from untrusted sources are vulnerable. From version 5.4.0, UltraJSON decodes lone surrogates in the same way as the standard library's `json` module does, preserving them in the parsed output.

Воздействие

Please review the referenced CVE identifiers for details.

Обход

There is no known workaround at this time.

Решение

All UltraJSON users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=dev-python/ujson-5.4.0"
        

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-202403-03.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!