Nanopb up to 0.2.9.3/0.3.9.4/0.4.0 realloc out-of-bounds
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.8 | $0-$5k | 0.92 |
Summary
A vulnerability, which was classified as critical, was found in Nanopb up to 0.2.9.3/0.3.9.4/0.4.0. Affected by this issue is the function realloc. The manipulation results in out-of-bounds.
This vulnerability is cataloged as CVE-2020-5235. The attack may be launched remotely. There is no exploit available.
You should upgrade the affected component.
Details
A vulnerability classified as critical has been found in Nanopb up to 0.2.9.3/0.3.9.4/0.4.0. Affected is the function realloc. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
There is a potentially exploitable out of memory condition In Nanopb before 0.4.1, 0.3.9.5, and 0.2.9.4. When nanopb is compiled with PB_ENABLE_MALLOC, the message to be decoded contains a repeated string, bytes or message field and realloc() runs out of memory when expanding the array nanopb can end up calling `free()` on a pointer value that comes from uninitialized memory. Depending on platform this can result in a crash or further memory corruption, which may be exploitable in some cases. This problem is fixed in nanopb-0.4.1, nanopb-0.3.9.5, nanopb-0.2.9.4.
The weakness was shared 02/04/2020 (GitHub Repository). The advisory is available at github.com. This vulnerability is traded as CVE-2020-5235 since 01/02/2020. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details are known, but there is no available exploit.
Upgrading to version 0.2.9.4, 0.3.9.5 or 0.4.1 eliminates this vulnerability.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
License
Website
- Product: https://github.com/nanopb/nanopb/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.1VulDB Meta Temp Score: 6.8
VulDB Base Score: 8.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.5
NVD Vector: 🔍
CNA Base Score: 6.5
CNA Vector (GitHub, Inc.): 🔍
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: Out-of-boundsCWE: CWE-125 / 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: Nanopb 0.2.9.4/0.3.9.5/0.4.1
Patch: github.com
Timeline
01/02/2020 🔍02/04/2020 🔍
02/04/2020 🔍
03/28/2024 🔍
Sources
Product: github.comAdvisory: 45582f1f97f49e2abfdba1463d1e1027682d9856
Status: Not defined
CVE: CVE-2020-5235 (🔍)
GCVE (CVE): GCVE-0-2020-5235
GCVE (VulDB): GCVE-100-149634
Entry
Created: 02/04/2020 10:49Updated: 03/28/2024 08:05
Changes: 02/04/2020 10:49 (38), 02/04/2020 10:54 (11), 03/28/2024 07:59 (18), 03/28/2024 08:05 (19)
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.