Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%
Get alerts for future matching vulnerabilitiesLog in to subscribe
I. Basic Information for CVE-2021-21401
Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Invalid free() call in Nanopb
Source: NVD (National Vulnerability Database)
Vulnerability Description
Nanopb is a small code-size Protocol Buffers implementation in ansi C. In Nanopb before versions 0.3.9.8 and 0.4.5, decoding a specifically formed message can cause invalid `free()` or `realloc()` calls if the message type contains an `oneof` field, and the `oneof` directly contains both a pointer field and a non-pointer field. If the message data first contains the non-pointer field and then the pointer field, the data of the non-pointer field is incorrectly treated as if it was a pointer value. Such message data rarely occurs in normal messages, but it is a concern when untrusted data is parsed. This has been fixed in versions 0.3.9.8 and 0.4.5. See referenced GitHub Security Advisory for more information including workarounds.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Source: NVD (National Vulnerability Database)
Vulnerability Type
对无效指针或索引的释放
Source: NVD (National Vulnerability Database)
Vulnerability Title
Nanopb 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Nanopb是Nanopb个人开发者的一个适用于微处理器的协议缓冲区实现。 Nanopb 存在安全漏洞,该漏洞导致无效的“free()”或“realloc()的调用。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)
Affected Products
VendorProductAffected VersionsCPESubscribe
nanopbnanopb >= 0.3.2, <= 0.3.9.7 -
II. Public POCs for CVE-2021-21401
#POC DescriptionSource LinkShenlong Link
1Nonehttps://github.com/uthrasri/CVE-2021-21401_nanopb-c_AOSP10_R33POC Details
2Nonehttps://github.com/HimanshuS67/external_nanopb-c_AOSP10_CVE-2021-21401POC Details
AI-Generated POCPremium

No public POC found.

Login to generate AI POC
III. Intelligence Information for CVE-2021-21401
Please Login to view more intelligence information
IV. Related Vulnerabilities
V. Comments for CVE-2021-21401

No comments yet


Leave a comment