Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/nanopb/nanopb/commit/2b86c255aa52250438d5aba124d0e86db495b378
- https://github.com/nanopb/nanopb/security/advisories/GHSA-xwqq-qxmw-hj5r
FAQ
What is CVE-2024-53984?
CVE-2024-53984 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 strea...
How severe is CVE-2024-53984?
CVE-2024-53984 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-53984?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.