CVE-2021-45958

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-45958
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-45958.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-45958
Aliases
Related
Published
2022-01-01T00:15:08Z
Modified
2024-10-12T08:39:17.417475Z
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

Debian:11 / ujson

Package

Name
ujson
Purl
pkg:deb/debian/ujson?arch=source

Affected ranges

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

Affected versions

4.*

4.0.2-1
4.2.0-1

5.*

5.1.0-1
5.2.0-1
5.3.0-1
5.4.0-1
5.5.0-1
5.5.0-2
5.6.0-1
5.7.0-1
5.8.0-1
5.9.0-1
5.10.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ujson

Package

Name
ujson
Purl
pkg:deb/debian/ujson?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ujson

Package

Name
ujson
Purl
pkg:deb/debian/ujson?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.2.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/ultrajson/ultrajson

Affected ranges

Type
GIT
Repo
https://github.com/ultrajson/ultrajson
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

2.*

2.0.0
2.0.1
2.0.2
2.0.3

3.*

3.0.0
3.1.0
3.2.0

4.*

4.0.0
4.0.1
4.0.2
4.1.0
4.2.0
4.3.0

5.*

5.0.0
5.1.0

v1.*

v1.34
v1.35