Cesanta MongooseOS mJS 1.25 JSON String mjs_json.c mjs_json_parse heap-based overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Cesanta MongooseOS mJS 1.25. It has been declared as critical. Affected is the function mjs_json_parse of the file mjs_json.c of the component JSON String Handler. Executing a manipulation can lead to heap-based overflow.
This vulnerability is registered as CVE-2021-31875. No exploit is available.
It is recommended to upgrade the affected component.
Details
A vulnerability classified as critical was found in Cesanta MongooseOS mJS 1.25. This vulnerability affects the function mjs_json_parse of the file mjs_json.c of the component JSON String Handler. The manipulation with an unknown input leads to a heap-based overflow vulnerability. The CWE definition for the vulnerability is CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was published 04/29/2021. The advisory is available at huntr.dev. This vulnerability was named CVE-2021-31875. Technical details are known, but there is no available exploit.
Upgrading to version 1.26 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB Meta Temp Score: 7.6
VulDB Base Score: 5.5
VulDB Temp Score: 5.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Heap-based overflowCWE: CWE-122 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: MongooseOS mJS 1.26
Patch: github.com
Timeline
04/29/2021 🔍04/29/2021 🔍
04/29/2021 🔍
08/04/2024 🔍
Sources
Advisory: huntr.devStatus: Not defined
CVE: CVE-2021-31875 (🔍)
GCVE (CVE): GCVE-0-2021-31875
GCVE (VulDB): GCVE-100-174250
Entry
Created: 04/29/2021 09:14Updated: 08/04/2024 02:25
Changes: 04/29/2021 09:14 (42), 05/03/2021 07:15 (2), 08/04/2024 02:25 (35)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.