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

Severity:normal
Title:protobuf, protobuf-python: Denial of Service
Date:08/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 Architecture(s)
dev-python/protobuf-python < 3.19.6 >= 3.19.6 All supported architectures
dev-libs/protobuf < 3.20.3 >= 3.20.3 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202408-31.xml

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 2010 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.

Thank you!