{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2021-21401","title":"Title"},{"category":"description","text":"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.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2021-21401","url":"https://www.suse.com/security/cve/CVE-2021-21401"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"}],"title":"SUSE CVE CVE-2021-21401","tracking":{"current_release_date":"2025-03-15T09:10:51Z","generator":{"date":"2023-02-15T03:46:15Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2021-21401","initial_release_date":"2023-02-15T03:46:15Z","revision_history":[{"date":"2023-02-15T03:46:15Z","number":"2","summary":"Current version"},{"date":"2025-01-01T04:45:52Z","number":"3","summary":"Current version"},{"date":"2025-02-15T05:20:18Z","number":"4","summary":"Current version"},{"date":"2025-02-17T05:46:21Z","number":"5","summary":"Current version"},{"date":"2025-03-15T09:10:51Z","number":"6","summary":"Current version"}],"status":"interim","version":"6"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"libprotobuf-nanopb0-0.4.5-1.3","product":{"name":"libprotobuf-nanopb0-0.4.5-1.3","product_id":"libprotobuf-nanopb0-0.4.5-1.3","product_identification_helper":{"purl":"pkg:rpm/suse/libprotobuf-nanopb0@0.4.5-1.3"}}},{"category":"product_version","name":"nanopb-devel-0.4.5-1.3","product":{"name":"nanopb-devel-0.4.5-1.3","product_id":"nanopb-devel-0.4.5-1.3","product_identification_helper":{"purl":"pkg:rpm/suse/nanopb-devel@0.4.5-1.3"}}},{"category":"product_version","name":"nanopb-source-0.4.5-1.3","product":{"name":"nanopb-source-0.4.5-1.3","product_id":"nanopb-source-0.4.5-1.3","product_identification_helper":{"purl":"pkg:rpm/suse/nanopb-source@0.4.5-1.3"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"libprotobuf-nanopb0-0.4.5-1.3 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:libprotobuf-nanopb0-0.4.5-1.3"},"product_reference":"libprotobuf-nanopb0-0.4.5-1.3","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"nanopb-devel-0.4.5-1.3 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:nanopb-devel-0.4.5-1.3"},"product_reference":"nanopb-devel-0.4.5-1.3","relates_to_product_reference":"openSUSE Tumbleweed"},{"category":"default_component_of","full_product_name":{"name":"nanopb-source-0.4.5-1.3 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:nanopb-source-0.4.5-1.3"},"product_reference":"nanopb-source-0.4.5-1.3","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2021-21401","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2021-21401"}],"notes":[{"category":"general","text":"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.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:libprotobuf-nanopb0-0.4.5-1.3","openSUSE Tumbleweed:nanopb-devel-0.4.5-1.3","openSUSE Tumbleweed:nanopb-source-0.4.5-1.3"]},"references":[{"category":"external","summary":"CVE-2021-21401","url":"https://www.suse.com/security/cve/CVE-2021-21401"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:libprotobuf-nanopb0-0.4.5-1.3","openSUSE Tumbleweed:nanopb-devel-0.4.5-1.3","openSUSE Tumbleweed:nanopb-source-0.4.5-1.3"]}],"scores":[{"cvss_v3":{"baseScore":7.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L","version":"3.1"},"products":["openSUSE Tumbleweed:libprotobuf-nanopb0-0.4.5-1.3","openSUSE Tumbleweed:nanopb-devel-0.4.5-1.3","openSUSE Tumbleweed:nanopb-source-0.4.5-1.3"]}],"threats":[{"category":"impact","date":"2021-03-23T23:41:19Z","details":"moderate"}],"title":"CVE-2021-21401"}]}