CVE-2021-22569

Source
https://cve.org/CVERecord?id=CVE-2021-22569
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22569.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-22569
Aliases
Downstream
Related
Published
2022-01-10T14:10:16.747Z
Modified
2026-02-03T07:14:20.923183Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/protocolbuffers/protobuf

Affected versions

v3.*
v3.18.0
v3.18.1
v3.19.0
v3.19.0-rc1
v3.19.0-rc2
v3.19.1

Database specific

vanir_signatures
[
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/source_context.pb.h"
        },
        "id": "CVE-2021-22569-007a6f1a",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/any.pb.h"
        },
        "id": "CVE-2021-22569-0c6a5439",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/compiler/plugin.pb.h"
        },
        "id": "CVE-2021-22569-297c786b",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/field_mask.pb.h"
        },
        "id": "CVE-2021-22569-2ad1978c",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/type.pb.h"
        },
        "id": "CVE-2021-22569-74dbca6c",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/descriptor.pb.h"
        },
        "id": "CVE-2021-22569-7d3abc12",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/wrappers.pb.h"
        },
        "id": "CVE-2021-22569-a55a1d2a",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/timestamp.pb.h"
        },
        "id": "CVE-2021-22569-cbf5b140",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/api.pb.h"
        },
        "id": "CVE-2021-22569-d147c29a",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/empty.pb.h"
        },
        "id": "CVE-2021-22569-dec320e6",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/duration.pb.h"
        },
        "id": "CVE-2021-22569-f87ca39e",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/protocolbuffers/protobuf/commit/791a4355c365bd92720160671a7491be168055cb",
        "target": {
            "file": "src/google/protobuf/struct.pb.h"
        },
        "id": "CVE-2021-22569-ff862195",
        "signature_version": "v1",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "328459828297406866746685094975132074155",
                "320482912142515080020906968928056412245",
                "94902428441466243207974400648954766131",
                "139512282090018918949412744829553419206"
            ]
        },
        "deprecated": false
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-22569.json"