CVE-2021-21401 is a vulnerability in Nanopb, a Protocol Buffers implementation in C, affecting versions prior to 0.3.9.8 and 0.4.5. Specifically, a malformed message containing an 'oneof' field with both pointer and non-pointer fields can lead to invalid free() or realloc() calls, potentially causing memory corruption. Rated as High severity (CVSS 7.1), this vulnerability can be triggered remotely with low attack complexity and no user interaction, potentially leading to data integrity compromise (I:H) and availability impact (A:L). There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this CVE.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 0.3.9.8CPE matchmatch criteria | cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* | ||
>= 0.4.0, < 0.4.5CPE matchmatch criteria | cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.