p PatchFirst

CVE-2022-1941

CVE-2022-1941 · Out of Memory issue in ProtocolBuffers for cpp and python

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 1.5% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • protobuf-cpp

    Versions
    • ≥ unspecified, ≤ 3.16.1: Affected (custom)
    • ≥ unspecified, ≤ 3.17.3: Affected (custom)
    • ≥ unspecified, ≤ 3.18.2: Affected (custom)
    • ≥ unspecified, ≤ 3.19.4: Affected (custom)
    • ≥ unspecified, ≤ 3.20.1: Affected (custom)
    • ≥ unspecified, ≤ 3.21.5: Affected (custom)

    No fix published

  • protobuf-python

    Versions
    • ≥ unspecified, ≤ 3.16.1: Affected (custom)
    • ≥ unspecified, ≤ 3.17.3: Affected (custom)
    • ≥ unspecified, ≤ 3.18.2: Affected (custom)
    • ≥ unspecified, ≤ 3.19.4: Affected (custom)
    • ≥ unspecified, ≤ 3.20.1: Affected (custom)
    • ≥ unspecified, ≤ 4.21.5: Affected (custom)

    No fix published

  • protobuf Debian:12

    Affected ranges
    • ECOSYSTEM: < 3.21.9-3

    Update to 3.21.9-3

  • protobuf Debian:13

    Affected ranges
    • ECOSYSTEM: < 3.21.9-3

    Update to 3.21.9-3

  • protobuf Debian:14

    Affected ranges
    • ECOSYSTEM: < 3.21.9-3

    Update to 3.21.9-3

  • protobuf PyPI

    Versions
    • 2.0.0beta
    • 2.0.3
    • 2.3.0
    • 2.4.1
    • 2.5.0
    • 2.6.0
    • 2.6.1
    • 3.0.0
    • 3.0.0a2
    • 3.0.0a3
    • 3.0.0b1
    • 3.0.0b1.post1
    • 3.0.0b1.post2
    • 3.0.0b2
    • 3.0.0b2.post1
    • 3.0.0b2.post2
    • 3.0.0b3
    • 3.0.0b4
    • 3.1.0
    • 3.1.0.post1
    • 3.10.0
    • 3.10.0rc1
    • 3.11.0
    • 3.11.0rc1
    • 3.11.0rc2
    • 3.11.1
    • 3.11.2
    • 3.11.3
    • 3.12.0
    • 3.12.0rc1
    • 3.12.0rc2
    • 3.12.1
    • 3.12.2
    • 3.12.4
    • 3.13.0
    • 3.13.0rc3
    • 3.14.0
    • 3.14.0rc1
    • 3.14.0rc2
    • 3.14.0rc3
    • 3.15.0
    • 3.15.0rc1
    • 3.15.0rc2
    • 3.15.1
    • 3.15.2
    • 3.15.3
    • 3.15.4
    • 3.15.5
    • 3.15.6
    • 3.15.7
    • 3.15.8
    • 3.16.0
    • 3.16.0rc1
    • 3.16.0rc2
    • 3.17.0
    • 3.17.0rc1
    • 3.17.0rc2
    • 3.17.1
    • 3.17.2
    • 3.17.3
    • 3.18.0
    • 3.18.0rc1
    • 3.18.0rc2
    • 3.18.1
    • 3.2.0
    • 3.2.0rc1
    • 3.2.0rc1.post1
    • 3.2.0rc2
    • 3.3.0
    • 3.4.0
    • 3.5.0.post1
    • 3.5.1
    • 3.5.2
    • 3.5.2.post1
    • 3.6.0
    • 3.6.1
    • 3.7.0
    • 3.7.0rc2
    • 3.7.0rc3
    • 3.7.1
    • 3.8.0
    • 3.8.0rc1
    • 3.9.0
    • 3.9.0rc1
    • 3.9.1
    • 3.9.2
    Affected ranges
    • ECOSYSTEM: < 3.18.3

    Update to 3.18.3

  • protobuf PyPI

    Versions
    • 3.19.0
    • 3.19.1
    • 3.19.2
    • 3.19.3
    • 3.19.4
    Affected ranges
    • ECOSYSTEM: ≥ 3.19.0, < 3.19.5

    Update to 3.19.5

  • protobuf PyPI

    Versions
    • 3.20.0
    • 3.20.1
    • 3.20.1rc1
    Affected ranges
    • ECOSYSTEM: ≥ 3.20.0, < 3.20.2

    Update to 3.20.2

  • protobuf PyPI

    Versions
    • 4.21.0
    • 4.21.0rc1
    • 4.21.0rc2
    • 4.21.1
    • 4.21.2
    • 4.21.3
    • 4.21.4
    • 4.21.5
    Affected ranges
    • ECOSYSTEM: ≥ 4.0.0, < 4.21.6

    Update to 4.21.6

  • protobuf PyPI

    Versions
    • 2.0.0beta
    • 2.0.3
    • 2.3.0
    • 2.4.1
    • 2.5.0
    • 2.6.0
    • 2.6.1
    • 3.0.0
    • 3.0.0a2
    • 3.0.0a3
    • 3.0.0b1
    • 3.0.0b1.post1
    • 3.0.0b1.post2
    • 3.0.0b2
    • 3.0.0b2.post1
    • 3.0.0b2.post2
    • 3.0.0b3
    • 3.0.0b4
    • 3.1.0
    • 3.1.0.post1
    • 3.10.0
    • 3.10.0rc1
    • 3.11.0
    • 3.11.0rc1
    • 3.11.0rc2
    • 3.11.1
    • 3.11.2
    • 3.11.3
    • 3.12.0
    • 3.12.0rc1
    • 3.12.0rc2
    • 3.12.1
    • 3.12.2
    • 3.12.4
    • 3.13.0
    • 3.13.0rc3
    • 3.14.0
    • 3.14.0rc1
    • 3.14.0rc2
    • 3.14.0rc3
    • 3.15.0
    • 3.15.0rc1
    • 3.15.0rc2
    • 3.15.1
    • 3.15.2
    • 3.15.3
    • 3.15.4
    • 3.15.5
    • 3.15.6
    • 3.15.7
    • 3.15.8
    • 3.16.0
    • 3.16.0rc1
    • 3.16.0rc2
    • 3.17.0
    • 3.17.0rc1
    • 3.17.0rc2
    • 3.17.1
    • 3.17.2
    • 3.17.3
    • 3.18.0
    • 3.18.0rc1
    • 3.18.0rc2
    • 3.18.1
    • 3.19.0
    • 3.19.1
    • 3.19.2
    • 3.19.3
    • 3.19.4
    • 3.2.0
    • 3.2.0rc1
    • 3.2.0rc1.post1
    • 3.2.0rc2
    • 3.20.0
    • 3.20.1
    • 3.20.1rc1
    • 3.3.0
    • 3.4.0
    • 3.5.0.post1
    • 3.5.1
    • 3.5.2
    • 3.5.2.post1
    • 3.6.0
    • 3.6.1
    • 3.7.0
    • 3.7.0rc2
    • 3.7.0rc3
    • 3.7.1
    • 3.8.0
    • 3.8.0rc1
    • 3.9.0
    • 3.9.0rc1
    • 3.9.1
    • 3.9.2
    • 4.21.0
    • 4.21.0rc1
    • 4.21.0rc2
    • 4.21.1
    • 4.21.2
    • 4.21.3
    • 4.21.4
    • 4.21.5
    Affected ranges
    • ECOSYSTEM: < 3.18.3 ∪ ≥ 3.19.0, < 3.19.5 ∪ ≥ 3.20.0, < 3.20.2 ∪ ≥ 4.0.0, < 4.21.6

    Update to 3.18.3; Update to 3.19.5; Update to 3.20.2; Update to 4.21.6

  • protobuf Ubuntu:Pro:14.04:LTS

    Versions
    • 2.4.1-3ubuntu2
    • 2.4.1-3ubuntu3
    • 2.4.1-3ubuntu4
    • 2.5.0-5ubuntu2
    • 2.5.0-7ubuntu1
    • 2.5.0-8ubuntu1
    • 2.5.0-9ubuntu1
    • 2.5.0-9ubuntu1+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • protobuf Ubuntu:Pro:16.04:LTS

    Versions
    • 2.6.1-1.2
    • 2.6.1-1.3
    • 2.6.1-1.3ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: < 2.6.1-1.3ubuntu0.1~esm2

    Update to 2.6.1-1.3ubuntu0.1~esm2

  • protobuf Ubuntu:18.04:LTS

    Versions
    • 3.0.0-9ubuntu5
    • 3.0.0-9ubuntu6
    • 3.0.0-9.1ubuntu1
    Affected ranges
    • ECOSYSTEM: < 3.0.0-9.1ubuntu1.1

    Update to 3.0.0-9.1ubuntu1.1

  • protobuf Ubuntu:20.04:LTS

    Versions
    • 3.6.1.3-2
    • 3.6.1.3-2ubuntu1
    • 3.6.1.3-2ubuntu3
    • 3.6.1.3-2ubuntu4
    • 3.6.1.3-2ubuntu5
    Affected ranges
    • ECOSYSTEM: < 3.6.1.3-2ubuntu5.2

    Update to 3.6.1.3-2ubuntu5.2

  • protobuf Ubuntu:22.04:LTS

    Versions
    • 3.12.4-1ubuntu3
    • 3.12.4-1ubuntu5
    • 3.12.4-1ubuntu6
    • 3.12.4-1ubuntu7
    Affected ranges
    • ECOSYSTEM: < 3.12.4-1ubuntu7.22.04.1

    Update to 3.12.4-1ubuntu7.22.04.1

Original sources

Check your server →