Vulnerability Details : CVE-2021-45958
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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2021-45958
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-45958
0.13%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 46 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-45958
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-45958
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-45958
-
https://github.com/ultrajson/ultrajson/issues/502#issuecomment-1031747284
CVE-2021-45958 from oss-fuzz report · Issue #502 · ultrajson/ultrajson · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/
[SECURITY] Fedora 35 Update: python-ujson-5.4.0-1.fc35 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2022/02/msg00023.html
[SECURITY] [DLA 2929-1] ujson security updateMailing List;Third Party Advisory
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009
36009 - ujson:hypothesis_structured_fuzzer: Stack-buffer-overflow in Buffer_AppendIndentUnchecked - oss-fuzzExploit;Issue Tracking;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/
[SECURITY] Fedora 36 Update: python-fastapi-0.75.0-3.fc36 - package-announce - Fedora Mailing-ListsMailing List;Third Party Advisory
-
https://github.com/ultrajson/ultrajson/pull/504
Fix unchecked buffer overflows (CVE-2021-45958). by bwoodsend · Pull Request #504 · ultrajson/ultrajson · GitHubPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/
[SECURITY] Fedora 36 Update: python-fastapi-0.75.2-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Patch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/
[SECURITY] Fedora 36 Update: python-ujson-5.2.0-1.fc36 - package-announce - Fedora Mailing-ListsMailing List;Patch;Third Party Advisory
-
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml
oss-fuzz-vulns/OSV-2021-955.yaml at main · google/oss-fuzz-vulns · GitHubExploit;Third Party Advisory
-
https://github.com/ultrajson/ultrajson/issues/501
Segmentation fault with large indent · Issue #501 · ultrajson/ultrajson · GitHubExploit;Issue Tracking;Third Party Advisory
Jump to