Debian dla-3393 : libprotobuf-dev - security update

high Nessus Plugin ID 174436

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 10 host has packages installed that are affected by multiple vulnerabilities as referenced in the dla-3393 advisory.

------------------------------------------------------------------------- Debian LTS Advisory DLA-3393-1 [email protected] https://www.debian.org/lts/security/ Helmut Grohne April 18, 2023 https://wiki.debian.org/LTS
-------------------------------------------------------------------------

Package : protobuf Version : 3.6.1.3-2+deb10u1 CVE ID : CVE-2021-22569 CVE-2021-22570 CVE-2022-1941

This update fixes a NULL pointer derference and two denial of service conditions in in protobuf.

CVE-2021-22569

An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses.

CVE-2021-22570

Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr.

CVE-2022-1941

A parsing vulnerability for the MessageSet type in the ProtocolBuffers can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input.

For Debian 10 buster, these problems have been fixed in version 3.6.1.3-2+deb10u1.

We recommend that you upgrade your protobuf packages.

For the detailed security status of protobuf please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/protobuf

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS Attachment:
signature.asc Description: PGP signature

Tenable has extracted the preceding description block directly from the Debian security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade the libprotobuf-dev packages.

See Also

https://security-tracker.debian.org/tracker/source-package/protobuf

https://security-tracker.debian.org/tracker/CVE-2021-22569

https://security-tracker.debian.org/tracker/CVE-2021-22570

https://security-tracker.debian.org/tracker/CVE-2022-1941

https://packages.debian.org/source/buster/protobuf

Plugin Details

Severity: High

ID: 174436

File Name: debian_DLA-3393.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/18/2023

Updated: 1/22/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-22569

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS Score Source: CVE-2022-1941

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libprotobuf-dev, p-cpe:/a:debian:debian_linux:libprotoc-dev, p-cpe:/a:debian:debian_linux:protobuf-compiler, p-cpe:/a:debian:debian_linux:python3-protobuf, cpe:/o:debian:debian_linux:10.0, p-cpe:/a:debian:debian_linux:libprotobuf-java, p-cpe:/a:debian:debian_linux:ruby-google-protobuf, p-cpe:/a:debian:debian_linux:libprotobuf17, p-cpe:/a:debian:debian_linux:libprotobuf-lite17, p-cpe:/a:debian:debian_linux:python-protobuf, p-cpe:/a:debian:debian_linux:libprotoc17

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/18/2023

Vulnerability Publication Date: 1/10/2022

Reference Information

CVE: CVE-2021-22569, CVE-2021-22570, CVE-2022-1941