GHSA-fh56-85cw-5pq6

Suggest an improvement
Source
https://github.com/advisories/GHSA-fh56-85cw-5pq6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-fh56-85cw-5pq6/GHSA-fh56-85cw-5pq6.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fh56-85cw-5pq6
Aliases
Published
2022-01-21T23:27:45Z
Modified
2024-11-18T23:01:17.240412Z
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
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
UltraJSON vulnerable to Out-of-bounds Write
Details

UltraJSON (aka ujson) 1.34 through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).

Database specific
{
    "nvd_published_at": "2022-01-01T00:15:00Z",
    "cwe_ids": [
        "CWE-787"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-12T19:29:48Z"
}
References

Affected packages

PyPI / ujson

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.34
Fixed
5.2.0

Affected versions

1.*

1.34
1.35

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