USN-6629-1

Source
https://ubuntu.com/security/notices/USN-6629-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6629-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-6629-1
Related
Published
2024-02-14T01:41:18.599199Z
Modified
2024-02-14T01:41:18.599199Z
Summary
ujson vulnerabilities
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)

References

Affected packages

Ubuntu:Pro:16.04:LTS / ujson

Package

Name
ujson
Purl
pkg:deb/ubuntu/ujson?arch=src?distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.33-1ubuntu0.1~esm2

Affected versions

1.*

1.33-1
1.33-1build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.33-1ubuntu0.1~esm2",
            "binary_name": "python-ujson"
        },
        {
            "binary_version": "1.33-1ubuntu0.1~esm2",
            "binary_name": "python-ujson-dbg"
        },
        {
            "binary_version": "1.33-1ubuntu0.1~esm2",
            "binary_name": "python3-ujson"
        },
        {
            "binary_version": "1.33-1ubuntu0.1~esm2",
            "binary_name": "python3-ujson-dbg"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / ujson

Package

Name
ujson
Purl
pkg:deb/ubuntu/ujson?arch=src?distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35-2ubuntu0.1~esm1

Affected versions

1.*

1.35-1build2
1.35-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.35-2ubuntu0.1~esm1",
            "binary_name": "python-ujson"
        },
        {
            "binary_version": "1.35-2ubuntu0.1~esm1",
            "binary_name": "python-ujson-dbg"
        },
        {
            "binary_version": "1.35-2ubuntu0.1~esm1",
            "binary_name": "python3-ujson"
        },
        {
            "binary_version": "1.35-2ubuntu0.1~esm1",
            "binary_name": "python3-ujson-dbg"
        }
    ]
}

Ubuntu:Pro:22.04:LTS / ujson

Package

Name
ujson
Purl
pkg:deb/ubuntu/ujson?arch=src?distro=esm-apps/jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.1.0-1ubuntu0.1~esm1

Affected versions

4.*

4.0.2-1
4.0.2-1build1
4.2.0-1

5.*

5.1.0-1
5.1.0-1build1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "5.1.0-1ubuntu0.1~esm1",
            "binary_name": "python3-ujson"
        }
    ]
}