ujson: CVE-2021-45958

Related Vulnerabilities: CVE-2021-45958  

Debian Bug report logs - #1005140
ujson: CVE-2021-45958

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Mon, 7 Feb 2022 19:51:04 UTC

Severity: important

Tags: security, upstream

Found in versions ujson/5.1.0-1, ujson/4.0.2-1, ujson/1.35-3

Forwarded to https://github.com/ultrajson/ultrajson/issues/502 https://github.com/ultrajson/ultrajson/issues/501

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1005140; Package src:ujson. (Mon, 07 Feb 2022 19:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Debian Python Team <team+python@tracker.debian.org>. (Mon, 07 Feb 2022 19:51:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ujson: CVE-2021-45958
Date: Mon, 07 Feb 2022 20:48:13 +0100
Source: ujson
Version: 5.1.0-1
Severity: important
Tags: security upstream
Forwarded: https://github.com/ultrajson/ultrajson/issues/502 https://github.com/ultrajson/ultrajson/issues/501
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Control: found -1 4.0.2-1
Control: found -1 1.35-3

Hi,

The following vulnerability was published for ujson.

CVE-2021-45958[0]:
| ** <A HREF="https://cve.mitre.org/about/faqs.html#disputed_signify_in_
| cve_entry">DISPUTED</A> ** 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2021-45958
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-45958
[1] https://github.com/ultrajson/ultrajson/issues/502
[2] https://github.com/ultrajson/ultrajson/issues/501

Regards,
Salvatore



Marked as found in versions ujson/4.0.2-1. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Mon, 07 Feb 2022 19:51:06 GMT) (full text, mbox, link).


Marked as found in versions ujson/1.35-3. Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Mon, 07 Feb 2022 19:51:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Team <team+python@tracker.debian.org>:
Bug#1005140; Package src:ujson. (Mon, 07 Feb 2022 19:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Team <team+python@tracker.debian.org>. (Mon, 07 Feb 2022 19:57:04 GMT) (full text, mbox, link).


Message #14 received at 1005140@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: 1005140@bugs.debian.org
Subject: Re: Bug#1005140: ujson: CVE-2021-45958
Date: Mon, 7 Feb 2022 20:55:00 +0100
On Mon, Feb 07, 2022 at 08:48:13PM +0100, Salvatore Bonaccorso wrote:
> Source: ujson
> Version: 5.1.0-1
> Severity: important
> Tags: security upstream
> Forwarded: https://github.com/ultrajson/ultrajson/issues/502 https://github.com/ultrajson/ultrajson/issues/501
> X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
> Control: found -1 4.0.2-1
> Control: found -1 1.35-3
> 
> Hi,
> 
> The following vulnerability was published for ujson.
> 
> CVE-2021-45958[0]:
> | ** <A HREF="https://cve.mitre.org/about/faqs.html#disputed_signify_in_
> | cve_entry">DISPUTED</A> ** 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.

Just some context: The CVE was initially disputed since it was not
quite clear if this is a flaw in ujson and later just not triggered
anymore or if an issue in the AFL++ fuzzer. Upstream issues 501 and
502 though give more details and as well information on how to
reproduce.

Regards,
Salvatore



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Tue Feb 8 12:09:38 2022; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.