Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22569

An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22569
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:25 UTC · Revision 1

Source evidence

CVE-2021-22569

core-osv · Original source

Published 10 Jan 2022, 14:10 UTC

An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.

osv:CVE-2021-22569
Complete source record
{
  "id": "ab3885597b399792764e1fe53fcf29f26cbbe957aa348836d8f3dff2c4121558",
  "url": "https://osv.dev/vulnerability/CVE-2021-22569",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22569",
    "summary": "An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.",
    "evidence": "osv:CVE-2021-22569",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22569",
      "aliases": [
        "CVE-2021-22569",
        "GHSA-wrvw-hg22-4m67"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/protocolbuffers/protobuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cb46755e6405e083b45481f5ea4754b180705529"
                },
                {
                  "fixed": "791a4355c365bd92720160671a7491be168055cb"
                },
                {
                  "fixed": "6c6b0778b70f35f93c2f0dee30e5d12ad2a83eea"
                },
                {
                  "introduced": "89b14b1d16eba4d44af43256fc45b24a6a348557"
                },
                {
                  "fixed": "6c6b0778b70f35f93c2f0dee30e5d12ad2a83eea"
                },
                {
                  "introduced": "17b30e96476be70b8773b2b807bab857fd3ceb39"
                },
                {
                  "fixed": "cb46755e6405e083b45481f5ea4754b180705529"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.19.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.16.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.18.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.18.0"
                      },
                      {
                        "fixed": "3.18.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.19.0"
                      },
                      {
                        "fixed": "3.19.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.19.0"
                      },
                      {
                        "fixed": "3.19.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.16.0",
            "v3.19.1",
            "v3.19.0",
            "v3.18.1",
            "v3.18.0",
            "v3.16.0-rc2",
            "v3.16.0-rc1",
            "v3.12.3",
            "v3.0.0-beta-3-pre-1",
            "v3.0.0-beta-2",
            "v3.0.0-beta-1-bzl-fix",
            "v3.0.0-beta-1",
            "v3.0.0-alpha-4",
            "v3.0.0-alpha-3",
            "v2.6.1rc1",
            "v2.6.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22569.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-22569-007a6f1a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/source_context.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-0c6a5439",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/any.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-297c786b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/compiler/plugin.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-2ad1978c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/field_mask.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-74dbca6c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/type.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-7d3abc12",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/descriptor.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-a55a1d2a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/wrappers.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-cbf5b140",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/timestamp.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-d147c29a",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/api.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-dec320e6",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/empty.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-f87ca39e",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/duration.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-22569-ff862195",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "328459828297406866746685094975132074155",
                    "320482912142515080020906968928056412245",
                    "94902428441466243207974400648954766131",
                    "139512282090018918949412744829553419206"
                  ]
                },
                "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
                "target": {
                  "file": "src/google/protobuf/struct.pb.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:22:10Z"
          }
        }
      ],
      "modified": "2026-10-24T14:22:10.393983237Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html",
        "https://cloud.google.com/support/bulletins#gcp-2022-001",
        "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39330",
        "https://www.oracle.com/security-alerts/cpuapr2022.html"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_console:1.9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_console",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.9.0"
                  },
                  {
                    "last_affected": "1.9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.0:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:communications_cloud_native_core_network_repository_function:1.15.1:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_network_repository_function",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.15.0"
                  },
                  {
                    "last_affected": "1.15.0"
                  },
                  {
                    "introduced": "1.15.1"
                  },
                  {
                    "last_affected": "1.15.1"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:communications_cloud_native_core_policy",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.15.0"
                  },
                  {
                    "last_affected": "1.15.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:oracle:spatial_and_graph_mapviewer:19c:*:*:*:*:*:*:*",
              "cpe:2.3:a:oracle:spatial_and_graph_mapviewer:21c:*:*:*:*:*:*:*"
            ],
            "vendor_product": "oracle:spatial_and_graph_mapviewer",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "19c"
                  },
                  {
                    "last_affected": "19c"
                  },
                  {
                    "introduced": "21c"
                  },
                  {
                    "last_affected": "21c"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-22569",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 443657,
  "published_at": "2022-01-10T14:10:16.747+00:00"
}