Skip to content
OpenAdvisories
High ALAS2023-2023-049 2 CVEs

Important: protobuf security update (Amazon Linux 2023)

Published Feb 17, 2023 · Updated Feb 22, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2022-3171: A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above. CVE-2022-1941: A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python 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. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.

Fixed packages 15

ReleasePackageFixed in
Amazon Linux · 2023 protobuf 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-compiler 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-compiler-debuginfo 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-debuginfo 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-debugsource 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-devel 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-emacs 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-lite 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-lite-debuginfo 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-lite-devel 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-lite-static 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-static 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 protobuf-vim 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 python3-protobuf 0:3.19.6-1.amzn2023.0.1
Amazon Linux · 2023 python3-protobuf-debuginfo 0:3.19.6-1.amzn2023.0.1

Vulnerabilities 2

  • High 7.5

    Out of Memory issue in ProtocolBuffers for cpp and python

    A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 fo…

  • Medium 4.3

    Memory handling vulnerability in ProtocolBuffers Java core and lite

    A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields …

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-1941.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-3171.html