An update that fixes two vulnerabilities is now available. . SUSE Security Update: Security update for python-ujson ______________________________________________________________________________ Announcement ID: SUSE-SU-2022:2673-1 Rating: moderate References: #1201254 #1201255 Cross-References: CVE-2022-31116 CVE-2022-31117 CVSS scores: CVE-2022-31116 (NVD) : 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVE-2022-31116 (SUSE): 5.8 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:L CVE-2022-31117 (NVD) : 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H CVE-2022-31117 (SUSE): 4.7 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H Affected Products: SUSE Linux Enterprise Desktop 15-SP3 SUSE Linux Enterprise Desktop 15-SP4 SUSE Linux Enterprise High Performance Computing 15-SP3 SUSE Linux Enterprise High Performance Computing 15-SP4 SUSE Linux Enterprise Module for Development Tools 15-SP3 SUSE Linux Enterprise Module for Development Tools 15-SP4 SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP4 SUSE Linux Enterprise Server 15-SP3 SUSE Linux Enterprise Server 15-SP4 SUSE Linux Enterprise Server for SAP Applications 15-SP3 SUSE Linux Enterprise Server for SAP Applications 15-SP4 SUSE Linux Enterprise Storage 7.1 SUSE Manager Proxy 4.2 SUSE Manager Proxy 4.3 SUSE Manager Retail Branch Server 4.2 SUSE Manager Retail Branch Server 4.3 SUSE Manager Server 4.2 SUSE Manager Server 4.3 openSUSE Leap 15.3 openSUSE Leap15.4 ______________________________________________________________________________ An update that fixes two vulnerabilities is now available. Description: This update for python-ujson fixes the following issues: - CVE-2022-31116: Fixed improper decoding of escaped surrogate characters (bsc#1201255). - CVE-2022-31117: Fixed a double free while reallocating a buffer for string decoding (bsc#1201254). Patch Instructions: To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch". Alternatively you can run the command listed for your product: - openSUSE Leap 15.4: zypper in -t patch openSUSE-SLE-15.4-2022-2673=1 - openSUSE Leap 15.3: zypper in -t patch openSUSE-SLE-15.3-2022-2673=1 - SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP4: zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2022-2673=1 - SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3: zypper in -t patch SUSE-SLE-Module-Packagehub-Subpackages-15-SP3-2022-2673=1 - SUSE Linux Enterprise Module for Development Tools 15-SP4: zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2022-2673=1 - SUSE Linux Enterprise Module for Development Tools 15-SP3: zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP3-2022-2673=1 Package List: - openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python3-ujson-1.35-150100.3.5.1 python3-ujson-debuginfo-1.35-150100.3.5.1 - openSUSE Leap 15.3 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python2-ujson-1.35-150100.3.5.1 python2-ujson-debuginfo-1.35-150100.3.5.1 python3-ujson-1.35-150100.3.5.1 python3-ujson-debuginfo-1.35-150100.3.5.1 - SUSE Linux Enterprise Module for PackagehubSubpackages 15-SP4 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python2-ujson-1.35-150100.3.5.1 python2-ujson-debuginfo-1.35-150100.3.5.1 - SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python2-ujson-1.35-150100.3.5.1 python2-ujson-debuginfo-1.35-150100.3.5.1 - SUSE Linux Enterprise Module for Development Tools 15-SP4 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python3-ujson-1.35-150100.3.5.1 python3-ujson-debuginfo-1.35-150100.3.5.1 - SUSE Linux Enterprise Module for Development Tools 15-SP3 (aarch64 ppc64le s390x x86_64): python-ujson-debuginfo-1.35-150100.3.5.1 python-ujson-debugsource-1.35-150100.3.5.1 python3-ujson-1.35-150100.3.5.1 python3-ujson-debuginfo-1.35-150100.3.5.1 References: https://www.suse.com/security/cve/CVE-2022-31116.html https://www.suse.com/security/cve/CVE-2022-31117.html https://bugzilla.suse.com/1201254 https://bugzilla.suse.com/1201255 . SUSE Security Update 2022:2673-1 addresses vulnerabilities in python-ujson that may expose users to moderate security threats, urging swift application of the update. SUSE Update, Python Package Security, Linux Server Fixes. . LinuxSecurity.com Team
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. --------------------------------------------------------------------------------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 - 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 https://dnf.readthedocs.io/en/latest/command_ref.html 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/security/ --------------------------------------------------------------------------------_______________________________________________ package-announce mailing list --
Get the latest Linux and open source security news straight to your inbox.