| Summary | 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. |
|---|---|
| Publication Date | March 24, 2021, 3:15 a.m. |
| Registration Date | March 24, 2021, 10:02 a.m. |
| Last Update | Nov. 21, 2024, 2:48 p.m. |
| CVSS3.1 : HIGH | |
| スコア | 7.1 |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃に必要な特権レベル(PR) | 低 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 高 |
| 可用性への影響(A) | 低 |
| CVSS2.0 : MEDIUM | |
| Score | 5.5 |
|---|---|
| Vector | AV:N/AC:L/Au:S/C:N/I:P/A:P |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 低 |
| 攻撃前の認証要否(Au) | 単一 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | 低 |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* | 0.4.0 | 0.4.5 | |||
| cpe:2.3:a:nanopb_project:nanopb:*:*:*:*:*:*:*:* | 0.3.9.8 | ||||
| Title | Nanopb における無効なポインタや参照の解放に関する脆弱性 |
|---|---|
| Summary | Nanopb には、無効なポインタや参照の解放に関する脆弱性が存在します。 |
| Possible impacts | 情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | March 20, 2021, midnight |
| Registration Date | Nov. 30, 2021, 3:47 p.m. |
| Last Update | Nov. 30, 2021, 3:47 p.m. |
| Nanopb project |
| Nanopb 0.3.9.8 未満 |
| Nanopb 0.4.5 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2021年11月30日] 掲載 |
Nov. 30, 2021, 3:47 p.m. |