|
|
Log in / Subscribe / Register

Fedora alert FEDORA-2022-1b2b8d5177 (python-ujson)

From:  updates@fedoraproject.org
To:  package-announce@lists.fedoraproject.org
Subject:  [SECURITY] Fedora 36 Update: python-ujson-5.4.0-1.fc36
Date:  Sat, 23 Jul 2022 02:01:21 +0000
Message-ID:  <20220723020121.A0A663068B61@bastion01.iad2.fedoraproject.org>
Archive-link:  Article

-------------------------------------------------------------------------------- Fedora Update Notification FEDORA-2022-1b2b8d5177 2022-07-23 01:59:14.445863 -------------------------------------------------------------------------------- Name : python-ujson Product : Fedora 36 Version : 5.4.0 Release : 1.fc36 URL : https://github.com/ultrajson/ultrajson Summary : Ultra fast JSON encoder and decoder written in pure C Description : UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for Python. -------------------------------------------------------------------------------- Update Information: Security fix for CVE-2022-31116 and CVE-2022-31117. ## 5.4.0 **Added** - Add support for arbitrary size integers **Fixed** - CVE-2022-31116: Replace `wchar_t` string decoding implementation with a `uint32_t`-based one; fix handling of surrogates on decoding - CVE-2022-31117: Potential double free of buffer during string decoding - Fix memory leak on encoding errors when the buffer was resized - Integer parsing: always detect overflows - Fix handling of surrogates on encoding -------------------------------------------------------------------------------- ChangeLog: * Thu Jul 14 2022 Alfredo Moralejo <amoralej@redhat.com> - 5.4.0-1 - Update to 5.4.0 (closes rhbz#2103379) - Includes fixes for CVE-2022-31117 and CVE-2022-31116 -------------------------------------------------------------------------------- References: [ 1 ] Bug #2104739 - CVE-2022-31117 python-ujson: Potential double free of buffer during string decoding https://bugzilla.redhat.com/show_bug.cgi?id=2104739 [ 2 ] Bug #2104740 - CVE-2022-31116 python-ujson: improper decoding of escaped surrogate characters may lead to string corruption, key confusion or value overwriting https://bugzilla.redhat.com/show_bug.cgi?id=2104740 -------------------------------------------------------------------------------- This update can be installed with the "dnf" update program. Use su -c 'dnf upgrade --advisory FEDORA-2022-1b2b8d5177' at the command line. For more information, refer to the dnf documentation available at http://dnf.readthedocs.io/en/latest/command_ref.html#upgr... All packages are signed with the Fedora Project GPG key. More details on the GPG keys used by the Fedora Project can be found at https://fedoraproject.org/keys -------------------------------------------------------------------------------- _______________________________________________ package-announce mailing list -- package-announce@lists.fedoraproject.org To unsubscribe send an email to package-announce-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-cond... List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-ann... Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds