GHSA-fm67-cv37-96ff

Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-fm67-cv37-96ff/GHSA-fm67-cv37-96ff.json
Aliases
  • CVE-2022-31117
Published
2022-07-05T21:05:59Z
Modified
2022-08-16T03:31:03.488433Z
Details

Impact

What kind of vulnerability is it? Who is impacted?

When an error occurs while reallocating the buffer for string decoding, the buffer gets freed twice.

Due to how UltraJSON uses the internal decoder, this double free is impossible to trigger from Python.

Patches

Has the problem been patched? What versions should users upgrade to?

Users should upgrade to UltraJSON 5.4.0.

Workarounds

Is there a way for users to fix or remediate the vulnerability without upgrading?

There is no workaround.

For more information

If you have any questions or comments about this advisory: * Open an issue in UltraJSON

References

Affected packages

PyPI / ujson

ujson

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0
Fixed
5.4.0

Affected versions

1.*

1.15
1.18
1.19
1.21
1.22
1.23
1.30
1.33
1.34
1.35
1.4
1.6
1.8
1.9

2.*

2.0.0
2.0.1
2.0.2
2.0.3

3.*

3.0.0
3.1.0
3.2.0

4.*

4.0.0
4.0.1
4.0.2
4.1.0
4.2.0
4.3.0

5.*

5.0.0
5.1.0
5.2.0
5.3.0