protobuf 3.21.12-ok3 source package in openKylin

Changelog

protobuf (3.21.12-ok3) huanghe; urgency=high

  * Security update. Backport the fixes from Debian 3.21.12-11, -12, -14
    and Ubuntu 3.21.12-15ubuntu1. They are applied directly to the source
    tree to stay in line with this package's "3.0 (native)" source format.

  * CVE-2024-7254 (Java Full/Lite): parsing the unknown fields of a crafted
    message could recurse without bound and crash the process with a
    StackOverflowError. Add a recursion depth counter and a limit
    (DEFAULT_RECURSION_LIMIT = 100) in ArrayDecoders, MessageSchema,
    MessageSetSchema, UnknownFieldSchema and CodedInputStream.

  * CVE-2025-4565 (pure Python): data containing an arbitrary number of
    recursive groups, recursive messages or a series of SGROUP tags could
    exceed the Python recursion limit and be mis-parsed. Track the recursion
    depth while decoding unknown fields and reject an unmatched end-group
    tag. Affects internal/decoder.py, internal/python_message.py and
    unknown_fields.py.

  * CVE-2026-0994 (pure Python): nested google.protobuf.Any messages could
    bypass the max_recursion_depth limit of
    google.protobuf.json_format.ParseDict(), leading to a denial of service
    via stack overflow. Route well-known type conversion through
    ConvertMessage() so that the recursion depth is accounted for.

  * Add loongarch64 support (GOOGLE_PROTOBUF_ARCH_LOONGARCH64) to
    src/google/protobuf/stubs/platform_macros.h.

  * src/google/protobuf/port_def.inc: enable PROTOBUF_MUSTTAIL only on the
    primary target platforms (aarch64, x86_64), which fixes build failures
    on other architectures (upstream issue #22367).

  * Add regression tests: CodedInputStreamTest, LiteTest, the map and
    map_lite test protos, internal/message_test and internal/json_format_test.

 -- Openkylin Developers <email address hidden>  Thu, 24 Sep 2026 16:40:31 +0800

Upload details

Uploaded by:
Openkylin Developers
Sponsored by:
Cibot
Uploaded to:
Huanghe V3.0
Original maintainer:
Openkylin Developers
Architectures:
any all
Section:
devel
Urgency:
Very Urgent

Publishing See full publishing history

Series Pocket Published Component Section

Downloads

File Size SHA-256 Checksum
protobuf_3.21.12.orig.tar.gz 4.9 MiB 930c2c3b5ecc6c9c12615cf5ad93f1cd6e12d0aba862b572e076259970ac3a53
protobuf_3.21.12-ok3.debian.tar.xz 42.7 KiB 99fb37954f5ff9b36131fd8d243fc4f1a7f2f7699f95646177145aa8af6601b3
protobuf_3.21.12-ok3.dsc 3.0 KiB e0faef0edb65759ea1ce7e167111c6db2a99d509363b1fa0f3a53c99b1d2f7a3

Available diffs

View changes file

Binary packages built by this source