CVE-2021-45958
2 advisories.
PyPI/ujson CVE-2021-45958: medium 5.5, EPSS 1.55%
UltraJSON vulnerable to Out-of-bounds Write
Action: Upgrade ujson to 5.2.0 or later.
pip install ujson==5.2.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 1.34 | 5.2.0 | - |
Fixed versions
| 5.2.0 |
Sources
- osv: GHSA-fh56-85cw-5pq6
- https://nvd.nist.gov/vuln/detail/CVE-2021-45958
- https://github.com/ultrajson/ultrajson/issues/501
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
- https://github.com/ultrajson/ultrajson/pull/504
- https://github.com/ultrajson/ultrajson/pull/519
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
- https://github.com/advisories/GHSA-fh56-85cw-5pq6
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/ujson/PYSEC-2022-25.yaml
- https://github.com/ultrajson/ultrajson
- https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6
CVE-2021-45958 · published · modified · JSON
PyPI/ujson CVE-2021-45958: unknown, EPSS 1.55%
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.
Action: Upgrade ujson to 5.1.0 or later.
pip install ujson==5.1.0Affected
| introduced | fixed | last affected |
|---|---|---|
| 4.0.2 | 5.1.0 | - |
Fixed versions
| 5.1.0 |
Sources
- osv: PYSEC-2022-25
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
- https://github.com/ultrajson/ultrajson/issues/501
- https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
- https://github.com/advisories/GHSA-fh56-85cw-5pq6
CVE-2021-45958 · published · modified · JSON