Alerts This Week
Warning Icon 1 666
Alerts This Week
Warning Icon 1 666

Fedora 36: FEDORA-2022-1b2b8d5177 Critical: Python-Ujson Buffer Overflow

fedora
Calendar Grey July 22, 2022
Dist Fedora Esm H88
Updates for Fedora 36 addressing vital buffer vulnerabilities and memory management in python-ujson are now available. Discover further details!
Security fix for CVE-2022-31116 and CVE-2022-31117

Summary

UltraJSON is an ultra fast JSON encoder and decoder written in pure C with

bindings for Python.

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

* 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

[ 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

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 -- 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-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines

List Archives: https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/

Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

Change Log

References

Update Instructions

Severity
critical
Lowest
Low
Medium
High
Critical

Product: Fedora 36
Version: 5.4.0
Release: 1.fc36
Summary: Ultra fast JSON encoder and decoder written in pure C

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here