-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2024.1003
                   USN-6629-3: UltraJSON vulnerabilities
                             16 February 2024

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           UltraJSON
Publisher:         Ubuntu
Operating System:  Ubuntu
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-31117 CVE-2022-31116 CVE-2021-45958

Original Bulletin: 
   https://ubuntu.com/security/notices/USN-6629-3

Comment: CVSS (Max):  7.5 CVE-2022-31116 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
         CVSS Source: Ubuntu
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

- --------------------------BEGIN INCLUDED TEXT--------------------

USN-6629-3: UltraJSON vulnerabilities

14 February 2024

Several security issues were fixed in UltraJSON.

Releases

  o Ubuntu 20.04 LTS

Packages

  o ujson - ultra fast JSON encoder and decoder for Python 3

Details

USN-6629-1 fixed vulnerabilities in UltraJSON.
This update provides the corresponding updates for Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that UltraJSON incorrectly handled certain input with
a large amount of indentation. An attacker could possibly use this issue
to crash the program, resulting in a denial of service. ( CVE-2021-45958 )

Jake Miller discovered that UltraJSON incorrectly decoded certain
characters. An attacker could possibly use this issue to cause key
confusion and overwrite values in dictionaries. ( CVE-2022-31116 )

It was discovered that UltraJSON incorrectly handled an error when
reallocating a buffer for string decoding. An attacker could possibly
use this issue to corrupt memory. ( CVE-2022-31117 )

Update instructions

The problem can be corrected by updating your system to the following package
versions:

Ubuntu 20.04

  o python3-ujson - 1.35-4ubuntu0.1+esm1
    Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

  o CVE-2022-31117
  o CVE-2022-31116

Related notices

  o USN-6629-1 : python-ujson, python3-ujson, ujson

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: https://auscert.org.au/gpg-key/

iQIVAwUBZc7O/MkNZI30y1K9AQiYbg//Q69uyCCWxwOMBanG72ip98VFwuLiw0Mv
OuQb1Df0UkVFw0FRDTHF08n3kk9Y9esPZ1O3/4AxFzwnQAiChKfyNMMO0iWEWwN7
1HQMuXFDgVIwruDm0QpL7BWfQQl7OamtzHv6lxGM7uSgRvLrAGy6yV5DHXVHLyOl
ZE2cbk1hb9djTFY6nV+g2b5wu6PdTm/nfefeINC835GkaZwCNkhBCdNd/MGlEQYS
pTLbI+4I8xuQYK5vyCti7MP9hhjqultXlA5af1Kg2aQ5Bcaaf8Vs0R5m/kweanxK
IIsrJwD4CbUmiy4qA2AnQUQRQRxDRhBw6ybkpaOivBPQWebnyAlagZw/ke+//yQF
AxX6EfAIwT9/qpjD2MthOoUoo/TTRME50yHecuQcetQ6Vnf0nR4RLUu8ngZGfKfR
W8+5Gj4aIIHvJVPJPwxCVQysLPiLc8R/pHIbw3O7ENurXXjVPboOjFqtN5m38iWm
1RsJz44p7A2KN4FcXstabQQohffQ/k+tsD+AEMB9ykSZpuBtiMtUhd0Rwuy4I8YQ
65o/gNW8FI8Yg+OaiS1RbeK4TJ7PXRtvMo8cERRC+gxV3OFMxOgABto1/fXzsHvD
fIdZYla6E17JwlTR0Rf5rerl3pH4WymrzYc/iA+gn2HGjf3MyQsNBlJ0AGmpJjOv
/49KXgVhCAc=
=f8DA
-----END PGP SIGNATURE-----