- Veröffentlicht
- 25.11.2020
- Zuletzt geändert
- 26.10.2026
- EPSS (30 Tage)
- 2.7 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
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.
Status beim Hersteller
SUSE stuft seine Produktlinien ein: 1 betroffen, 1 behoben.
OpenShift Service Mesh 1
Betroffenwird nicht behoben
servicemesh-proxy
openSUSE Tumbleweed
Behoben
libprotobuf-nanopb0-0.4.5-1.3, nanopb-devel-0.4.5-1.3, nanopb-source-0.4.5-1.3
Betroffene Pakete im beobachteten Stack
Red Hat:service_mesh:1servicemesh-proxykein Fix bekanntCVE-2020-26243
Weitere betroffene Pakete (11)
CVEnanopb/nanopbkein Fix bekanntCVE-2020-26243
Debian:12nanopb0.4.4-1DEBIAN-CVE-2020-26243
Debian:13nanopb0.4.4-1DEBIAN-CVE-2020-26243
Debian:14nanopb0.4.4-1DEBIAN-CVE-2020-26243
NVDnanopb_project:nanopb0.3.9.7, 0.4.0 → 0.4.4CVE-2020-26243
PyPInanopb0.4.0 → 0.4.4GHSA-85rr-4rh9-hhwh
PyPInanopb0.3.2 → 0.3.9.7GHSA-85rr-4rh9-hhwh
PyPInanopb0.3.2 → 0.3.9.7, 0.4.0 → 0.4.4PYSEC-2026-684
Ubuntu:Pro:20.04:LTSnanopb0.4.1-1ubuntu0.1~esm1UBUNTU-CVE-2020-26243
Ubuntu:Pro:20.04:LTSnanopb0.4.1-1ubuntu0.1~esm1USN-6121-1
openSUSE:Tumbleweednanopb0.4.5-1.3openSUSE-SU-2024:11074-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/nanopb/nanopb/security/advisories/GHSA-85rr-4rh9-hhwh
- github.com/nanopb/nanopb/issues/615
- github.com/nanopb/nanopb/commit/4fe23595732b6f1254cfc11a9b8d6da900b55b0c
- github.com/nanopb/nanopb/blob/2b48a361786dfb1f63d229840217a93aae064667/CHANGELOG.txt
- www.suse.com/security/cve/CVE-2020-26243
- www.suse.com/support/security/rating/
- security-tracker.debian.org/tracker/CVE-2020-26243
- nvd.nist.gov/vuln/detail/CVE-2020-26243
- pypi.org/project/nanopb
- github.com/advisories/GHSA-85rr-4rh9-hhwh
- ubuntu.com/security/CVE-2020-26243
- github.com/nanopb/nanopb/commit/edf6dcbffee4d614ac0c2c1b258ab95185bdb6e9
- ubuntu.com/security/notices/USN-6121-1
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-26243.json
- access.redhat.com/security/cve/CVE-2020-26243
- bugzilla.redhat.com/show_bug.cgi