GitHub Advisoryadvisory · PyPI
GHSA-fh56-85cw-5pq6 UltraJSON vulnerable to Out-of-bounds Write
MEDIUM
Official page ↗
- Aliases
- CVE-2021-45958
- Ecosystem
- PyPI
- Packages
- ujson
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2022-01-12
Affected packages
• PyPI ujson: >= 1.34, < 5.2.0 → fixed in 5.2.0
Description
UltraJSON (aka ujson) 1.34 through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).
Related
Alias · CVE (1)
- CVE-2021-45958 UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45958 advisory
- https://github.com/ultrajson/ultrajson/issues/501 web
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284 web
- https://github.com/ultrajson/ultrajson/pull/504 web
- https://github.com/ultrajson/ultrajson/pull/519 web
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 web
- https://github.com/advisories/GHSA-fh56-85cw-5pq6 advisory
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml web
- https://github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2022-25.yaml web
- https://github.com/ultrajson/ultrajson package
- https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6 web