You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This vulnerability has been modified since it was last analyzed by the NVD. It is awaiting reanalysis which may result in further changes to the information provided.
Description
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to nvd@nist.gov.
OR
*cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* versions up to (including) 5.1.0
OR
*cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* versions up to (excluding) 5.2.0
Changed
CPE Configuration
OR
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
OR
*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
*cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NAU5N4A7EUK2AMUCOLYDD5ARXAJYZBD2/ Mailing List, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/O6JUWQTJLA2CMG4CJN7DCUVSOXLZIIXL/ Mailing List, Patch, Third Party Advisory
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ULX35TSWLBBIMEH44MUORPXYYRZKEDC6/ Mailing List, Patch, Third Party Advisory
OR
*cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Changed
Reference Type
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/ No Types Assigned
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CN7W3GOXALINKFUUE7ICQIC2EF5HNKUQ/ Mailing List, Third Party Advisory
** DISPUTED ** UltraJSON (aka ujson) 4.0.2 through 5.0.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). NOTE: multiple third parties dispute whether this is a confirmed finding, because the event that caused the Reproducer Testcase to stop indicating a buffer overflow was a change to the AFLplusplus project (5525f8c9ef8bb879dadd0eb942d524827d1b0362), not a change to the UltraJSON project.
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.
UltraJSON (aka ujson) 4.0.2 through 5.0.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode).
** DISPUTED ** UltraJSON (aka ujson) 4.0.2 through 5.0.0 has a stack-based buffer overflow in Buffer_AppendIndentUnchecked (called from encode). NOTE: multiple third parties dispute whether this is a confirmed finding, because the event that caused the Reproducer Testcase to stop indicating a buffer overflow was a change to the AFLplusplus project (5525f8c9ef8bb879dadd0eb942d524827d1b0362), not a change to the UltraJSON project.
Initial Analysis by NIST1/11/2022 1:03:24 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
NIST AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Added
CVSS V2
NIST (AV:N/AC:M/Au:N/C:N/I:N/A:P)
Added
CWE
NIST CWE-787
Added
CPE Configuration
OR
*cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* versions from (including) 4.0.2 up to (including) 5.0.0
Changed
Reference Type
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 No Types Assigned
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=36009 Exploit, Issue Tracking, Third Party Advisory
Changed
Reference Type
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml No Types Assigned
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/ujson/OSV-2021-955.yaml Exploit, Third Party Advisory
Added
CVSS V2 Metadata
Victim must voluntarily interact with attack mechanism
Quick Info
CVE Dictionary Entry: CVE-2021-45958 NVD
Published Date: 12/31/2021 NVD
Last Modified: 11/21/2024
Source: MITRE