{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"important"},"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-2020-26243","title":"Title"},{"category":"description","text":"Nanopb is a small code-size Protocol Buffers implementation. In Nanopb before versions 0.4.4 and 0.3.9.7, decoding specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern when untrusted data is parsed. This is fixed in versions 0.3.9.7 and 0.4.4. The following workarounds are available: 1) Set the option `no_unions` for the oneof field. This will generate fields as separate instead of C union, and avoids triggering the problematic code. 2) Set the type of the submessage field inside oneof to `FT_POINTER`. This way the whole submessage will be dynamically allocated and the problematic code is not executed. 3) Use an arena allocator for nanopb, to make sure all memory can be released afterwards.","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-2020-26243","url":"https://www.suse.com/security/cve/CVE-2020-26243"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"}],"title":"SUSE CVE CVE-2020-26243","tracking":{"current_release_date":"2025-03-15T09:38:38Z","generator":{"date":"2023-02-15T03:53:15Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2020-26243","initial_release_date":"2023-02-15T03:53:15Z","revision_history":[{"date":"2023-02-15T03:53:15Z","number":"2","summary":"Current version"},{"date":"2025-01-01T05:14:37Z","number":"3","summary":"Current version"},{"date":"2025-02-15T05:53:20Z","number":"4","summary":"Current version"},{"date":"2025-02-17T06:14:47Z","number":"5","summary":"Current version"},{"date":"2025-03-15T09:38:38Z","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-2020-26243","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2020-26243"}],"notes":[{"category":"general","text":"Nanopb is a small code-size Protocol Buffers implementation. In Nanopb before versions 0.4.4 and 0.3.9.7, decoding specifically formed message can leak memory if dynamic allocation is enabled and an oneof field contains a static submessage that contains a dynamic field, and the message being decoded contains the submessage multiple times. This is rare in normal messages, but it is a concern when untrusted data is parsed. This is fixed in versions 0.3.9.7 and 0.4.4. The following workarounds are available: 1) Set the option `no_unions` for the oneof field. This will generate fields as separate instead of C union, and avoids triggering the problematic code. 2) Set the type of the submessage field inside oneof to `FT_POINTER`. This way the whole submessage will be dynamically allocated and the problematic code is not executed. 3) Use an arena allocator for nanopb, to make sure all memory can be released afterwards.","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-2020-26243","url":"https://www.suse.com/security/cve/CVE-2020-26243"},{"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.5,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","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":"2020-11-25T21:52:52Z","details":"important"}],"title":"CVE-2020-26243"}]}