Vulnerability in Nanopb
CVE-2024-53984
Nanopb is a small code-size Protocol Buffers implementation. When the compile time option PB_ENABLE_MALLOC is enabled, the message contains at least one field with FT_POINTER field type, custom stream callback is used with unknown stream length. and the pb_decode_ex() function is used with flag PB_DECODE_DELIMITED, then the pb_decode_ex() function does not automatically call pb_release(), like is done for other failure cases. This could lead to memory leak and potential denial-of-service. This vulnerability is fixed in 0.4.9.1.
EPSS: 0.004 (31.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Nanopb — versions >=0.4.0, < 0.4.9.1
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-53984?
- CVE-2024-53984 is a medium-severity vulnerability in Nanopb, classified under Missing Release of Memory after Effective Lifetime. CVSS score: 4.3/10. Published 2024-12-02.
- How severe is CVE-2024-53984?
- Medium severity. CVSS v3 base score is 4.3 out of 10.