UltraJSON: Memory Leak in ujson.dump() on Write Failure
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| ultrajson | ultrajson | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Ultrajson | Ultrajson |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-c38f-wx89-p2xg | UltraJSON has a Memory Leak in ujson.dump() on Write Failure |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.421% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-772 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ultrajson Project
Ultrajson Project ultrajson |
|
| CPEs | cpe:2.3:a:ultrajson_project:ultrajson:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Ultrajson Project
Ultrajson Project ultrajson |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Ultrajson
Ultrajson ultrajson |
|
| Vendors & Products |
Ultrajson
Ultrajson ultrajson |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | UltraJSON is a fast JSON encoder and decoder written in pure C with bindings for Python 3.7+. Prior to 5.12.1, when ujson.dump() writes to a file-like object and the write operation raises an exception, the serialized JSON string object is not decremented, leaking memory. Each failed write operation leaks the full size of the serialized payload. This vulnerability is fixed in 5.12.1. | |
| Title | UltraJSON: Memory Leak in ujson.dump() on Write Failure | |
| Weaknesses | CWE-401 | |
| References |
| |
| Metrics |
cvssV4_0
|