[ GLSA 202408-31 ] protobuf, protobuf-python: Denial of Service

[email protected] Mon, 12 Aug 2024 07:20:40 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <172344724119.7.8326818864355534168@3f85d36892cf>
--===============8588599300138692922==
Content-Type: text/plain; charset="utf-8"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 ">=dev-libs/protobuf-3.20.3"
  # emerge --ask --oneshot --verbose ">=dev-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
[email protected] 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
--===============8588599300138692922==
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAma5t8gACgkQFMQkOaVy
+9mTmQ//WPDW59c3oPFhfEWVbQUe9bME0JUeJPCOaZMm/vpaO8cTD/e2MwtWP3dS
lXXbcfjTh+6ScV05rVMiKsTkKp+nLPmwgsWifOlU7wFG4GFUeRysJ0mqW1CE8pIG
x1hDNchzEYZEMPoTkC5cyR2RJ0N4Z1XDVgYhpzydkm2ZPJ/Xa0rT56qvcNDkcFbl
3NsQpZ63SHA2wkeZs6OW+BitMQYpfvvC6YuKwYFmwZsYVw3LxIoc1IUzZDQDVoHw
h7fZJ54fC6G8fE2Mrix8ChPhty/JeoCeMTYrYwpqUCOzePId6kcCVXpQI4Q60rxW
gR3mEZIDtTPUAfHv+BHbVECVwxcSYFhfrgEbRJCFKXwTCajM7/5f/ddfN/x4ipa1
IlcGG9mszrbSIqUPAur89RDf/c1+zLkCezdcKTQawDIsMR5jgLRgctrnzqnd5CIi
2EWZwKmtfbI2iahfSUxaVySKR1aewekqoiltWpb0UWbNcC7XVtBh8OJOZkyxn8t3
ZMLVrPwndlajtZyugUKEz3xG1ycwfW89EBwW2S1ocz/OcyI/ZTrBD6ePQEsFjFOu
HB6C2iO2c3pI8BWAtAkYtfbz4VTHltEoSPBs6Aiokue8G1zTh7sQ4K0G49/q1TeN
IS3G7OBDKcqPY05v1n5+POcbp2ZUz2ExDpCcKCgR1oUqyB4T10Q=
=Uf1Q
-----END PGP SIGNATURE-----

--===============8588599300138692922==--