UBUNTU-CVE-2021-45958

Source
https://ubuntu.com/security/CVE-2021-45958
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-45958.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-45958
Related
Published
2022-01-01T00:15:00Z
Modified
2024-12-18T16:39:11Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). Exploitation can, for example, use a large amount of indentation.

References

Affected packages

Ubuntu:Pro:14.04:LTS / pandas

Package

Name
pandas
Purl
pkg:deb/ubuntu/pandas?arch=src?distro=esm-infra-legacy/trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12.0-2ubuntu1
0.13.1-2ubuntu1
0.13.1-2ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / pandas

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.15.0-2
0.15.0-2ubuntu1
0.15.0-2ubuntu2
0.17.1-3ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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",
    "ubuntu_priority": "medium",
    "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 / pandas

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.19.2-5.1ubuntu4
0.22.0-2ubuntu1
0.22.0-3
0.22.0-4
0.22.0-4ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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",
    "ubuntu_priority": "medium",
    "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:20.04:LTS / pandas

Package

Name
pandas
Purl
pkg:deb/ubuntu/pandas?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.23.3+dfsg-4ubuntu1
0.23.3+dfsg-4ubuntu5
0.23.3+dfsg-4ubuntu6
0.25.3+dfsg-4
0.25.3+dfsg-4build1
0.25.3+dfsg-7

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / ujson

Package

Name
ujson
Purl
pkg:deb/ubuntu/ujson?arch=src?distro=focal

Affected ranges

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

Affected versions

1.*

1.35-3build1
1.35-3build2
1.35-4
1.35-4build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.35-4ubuntu0.1",
            "binary_name": "python3-ujson"
        },
        {
            "binary_version": "1.35-4ubuntu0.1",
            "binary_name": "python3-ujson-dbg"
        }
    ]
}

Ubuntu:22.04:LTS / pandas

Package

Name
pandas
Purl
pkg:deb/ubuntu/pandas?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.5+dfsg-2
1.1.5+dfsg-2ubuntu1
1.3.5+dfsg-2
1.3.5+dfsg-2ubuntu1
1.3.5+dfsg-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / ujson

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

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

{
    "ubuntu_priority": "medium"
}

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "5.1.0-1ubuntu0.1~esm1",
            "binary_name": "python3-ujson"
        }
    ]
}

Ubuntu:24.10 / pandas

Package

Name
pandas
Purl
pkg:deb/ubuntu/pandas?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.4+dfsg-7
2.1.4+dfsg-8
2.2.2+dfsg-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / pandas

Package

Name
pandas
Purl
pkg:deb/ubuntu/pandas?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.5.3+dfsg-6
1.5.3+dfsg-6ubuntu1
1.5.3+dfsg-7ubuntu1
1.5.3+dfsg-10

2.*

2.1.4+dfsg-4ubuntu2
2.1.4+dfsg-7

Ecosystem specific

{
    "ubuntu_priority": "medium"
}