- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202408-31
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: protobuf, protobuf-python: Denial of Service
     Date: August 12, 2024
     Bugs: #872434
       ID: 202408-31

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======
A vulnerability has been discovered in protobuf and protobuf-python,
which can lead to a denial of service.

Background
=========
Google's Protocol Buffers are an extensible mechanism for serializing
structured data.

Affected packages
================
Package                     Vulnerable    Unaffected
--------------------------  ------------  ------------
dev-libs/protobuf           < 3.20.3      >= 3.20.3
dev-python/protobuf-python  < 3.19.6      >= 3.19.6

Description
==========
A vulnerability has been discovered in protobuf and protobuf-python.
Please review the CVE identifiers referenced below for details.

Impact
=====
A parsing vulnerability for the MessageSet type 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.

Workaround
=========
There is no known workaround at this time.

Resolution
=========
All protobuf and protobuf-python users should upgrade to the latest
version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">Şv-libs/protobuf-3.20.3"
  # emerge --ask --oneshot --verbose ">Şv-python/protobuf-python-3.19.6"

References
=========
[ 1 ] CVE-2022-1941
      https://nvd.nist.gov/vuln/detail/CVE-2022-1941

Availability
===========
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202408-31

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
======
Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5