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

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

Affected packages

dev-libs/protobuf on all architectures
Affected versions < 3.20.3
Unaffected versions >= 3.20.3
dev-python/protobuf-python on all architectures
Affected versions < 3.19.6
Unaffected versions >= 3.19.6

Background

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

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

Release date
August 12, 2024

Latest revision
August 12, 2024: 1

Severity
normal

Exploitable
local

Bugzilla entries