GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2022-3171

Vulnerability from gsd - Updated: 2022-10-04 00:00
Details
## Summary A potential Denial of Service issue in `protobuf-java` core and lite was discovered in the parsing procedure for binary and text format data. Input streams containing multiple instances of non-repeated [embedded messages](http://developers.google.com/protocol-buffers/docs/encoding#embedded) 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. Reporter: [OSS Fuzz](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771) Affected versions: This issue affects both the Java full and lite Protobuf runtimes, as well as Protobuf for Kotlin and JRuby, which themselves use the Java Protobuf runtime. ## Severity [CVE-2022-3171](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3171) Medium - CVSS Score: 5.7 (NOTE: there may be a delay in publication) ## Remediation and Mitigation Please update to the latest available versions of the following packages: * protobuf-java (3.21.7, 3.20.3, 3.19.6, 3.16.3) * protobuf-javalite (3.21.7, 3.20.3, 3.19.6, 3.16.3) * protobuf-kotlin (3.21.7, 3.20.3, 3.19.6, 3.16.3) * protobuf-kotlin-lite (3.21.7, 3.20.3, 3.19.6, 3.16.3) * google-protobuf [JRuby gem only] (3.21.7, 3.20.3, 3.19.6)
Aliases

{
  "GSD": {
    "alias": "CVE-2022-3171",
    "id": "GSD-2022-3171",
    "references": [
      "https://access.redhat.com/errata/RHSA-2022:7896",
      "https://access.redhat.com/errata/RHSA-2022:9023",
      "https://www.suse.com/security/cve/CVE-2022-3171.html",
      "https://access.redhat.com/errata/RHSA-2023:1006"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "affected": [
        {
          "package": {
            "ecosystem": "RubyGems",
            "name": "google-protobuf",
            "purl": "pkg:gem/google-protobuf"
          }
        }
      ],
      "aliases": [
        "CVE-2022-3171",
        "GHSA-h4h5-3hr4-j3g2"
      ],
      "details": "## Summary\nA potential Denial of Service issue in `protobuf-java` core and lite was\ndiscovered in the parsing procedure for binary and text format data.\nInput streams containing multiple instances of non-repeated [embedded\nmessages](http://developers.google.com/protocol-buffers/docs/encoding#embedded)\nwith repeated or unknown fields causes objects to be converted back-n-forth\nbetween mutable and immutable forms, resulting in potentially long garbage\ncollection pauses.\n\nReporter: [OSS Fuzz](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771)\n\nAffected versions: This issue affects both the Java full and lite Protobuf\nruntimes, as well as Protobuf for Kotlin and JRuby, which themselves use the\nJava Protobuf runtime.\n\n## Severity\n\n[CVE-2022-3171](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3171)\nMedium - CVSS Score: 5.7 (NOTE: there may be a delay in publication)\n\n## Remediation and Mitigation\n\nPlease update to the latest available versions of the following packages:\n\n* protobuf-java (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-javalite (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-kotlin (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-kotlin-lite (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* google-protobuf [JRuby gem only] (3.21.7, 3.20.3, 3.19.6)\n",
      "id": "GSD-2022-3171",
      "modified": "2022-10-04T00:00:00.000Z",
      "published": "2022-10-04T00:00:00.000Z",
      "references": [
        {
          "type": "WEB",
          "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"
        },
        {
          "type": "WEB",
          "url": "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771"
        },
        {
          "type": "WEB",
          "url": "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7"
        },
        {
          "type": "WEB",
          "url": "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3"
        },
        {
          "type": "WEB",
          "url": "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6"
        },
        {
          "type": "WEB",
          "url": "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3"
        }
      ],
      "schema_version": "1.4.0",
      "severity": [
        {
          "score": 5.7,
          "type": "CVSS_V3"
        }
      ],
      "summary": "protobuf-java has a potential Denial of Service issue"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@google.com",
        "ID": "CVE-2022-3171",
        "STATE": "PUBLIC",
        "TITLE": "Memory handling vulnerability in ProtocolBuffers Java core and lite"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "Protocolbuffers",
                    "version": {
                      "version_data": [
                        {
                          "platform": "core and lite",
                          "version_affected": "\u003c",
                          "version_name": "3.21.7",
                          "version_value": "3.21.7"
                        },
                        {
                          "platform": "core and lite",
                          "version_affected": "\u003c",
                          "version_name": "3.20.3",
                          "version_value": "3.20.3"
                        },
                        {
                          "platform": "core and lite",
                          "version_affected": "\u003c",
                          "version_name": "3.19.6",
                          "version_value": "3.19.6"
                        },
                        {
                          "platform": "core and lite",
                          "version_affected": "\u003c",
                          "version_name": "3.16.3",
                          "version_value": "3.16.3"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Google LLC"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "ADJACENT_NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 4.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-20 Improper Input Validation"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "refsource": "CONFIRM",
            "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"
          },
          {
            "name": "FEDORA-2022-25f35ed634",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/"
          },
          {
            "name": "GLSA-202301-09",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202301-09"
          },
          {
            "name": "FEDORA-2022-15729fa33d",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/"
          }
        ]
      },
      "source": {
        "discovery": "INTERNAL"
      }
    },
    "github.com/rubysec/ruby-advisory-db": {
      "cve": "2022-3171",
      "cvss_v3": 5.7,
      "date": "2022-10-04",
      "description": "## Summary\nA potential Denial of Service issue in `protobuf-java` core and lite was\ndiscovered in the parsing procedure for binary and text format data.\nInput streams containing multiple instances of non-repeated [embedded\nmessages](http://developers.google.com/protocol-buffers/docs/encoding#embedded)\nwith repeated or unknown fields causes objects to be converted back-n-forth\nbetween mutable and immutable forms, resulting in potentially long garbage\ncollection pauses.\n\nReporter: [OSS Fuzz](https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771)\n\nAffected versions: This issue affects both the Java full and lite Protobuf\nruntimes, as well as Protobuf for Kotlin and JRuby, which themselves use the\nJava Protobuf runtime.\n\n## Severity\n\n[CVE-2022-3171](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3171)\nMedium - CVSS Score: 5.7 (NOTE: there may be a delay in publication)\n\n## Remediation and Mitigation\n\nPlease update to the latest available versions of the following packages:\n\n* protobuf-java (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-javalite (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-kotlin (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* protobuf-kotlin-lite (3.21.7, 3.20.3, 3.19.6, 3.16.3)\n* google-protobuf [JRuby gem only] (3.21.7, 3.20.3, 3.19.6)\n",
      "gem": "google-protobuf",
      "ghsa": "h4h5-3hr4-j3g2",
      "patched_versions": [
        "~\u003e 3.16.3",
        "~\u003e 3.19.6",
        "~\u003e 3.20.3",
        "\u003e= 3.21.7"
      ],
      "platform": "jruby",
      "related": {
        "url": [
          "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
          "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
          "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
          "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
          "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3"
        ]
      },
      "title": "protobuf-java has a potential Denial of Service issue",
      "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c3.16.3||\u003e=3.17.0 \u003c3.19.6||\u003e=3.20.0 \u003c3.20.3||\u003e=3.21.0 \u003c3.21.7",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0 before 3.19.6, all versions starting from 3.20.0 before 3.20.3, all versions starting from 3.21.0 before 3.21.7",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-04-27",
          "description": "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.",
          "fixed_versions": [
            "3.17.0.rc.1",
            "3.19.6",
            "3.20.3",
            "3.21.7"
          ],
          "identifier": "CVE-2022-3171",
          "identifiers": [
            "CVE-2022-3171",
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-5022"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0, all versions starting from 3.19.6 before 3.20.0, all versions starting from 3.20.3 before 3.21.0, all versions starting from 3.21.7",
          "package_slug": "gem/google-protobuf",
          "pubdate": "2022-10-12",
          "solution": "Upgrade to versions 3.17.0.rc.1, 3.19.6, 3.20.3, 3.21.7 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-3171",
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "5456716e-62ac-408e-99e0-8d7290e335c7"
        },
        {
          "affected_range": "\u003c0",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0.rc.1 before 3.19.6, all versions starting from 3.20.0.rc.1 before 3.20.3, all versions starting from 3.21.0.rc.1 before 3.21.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "Improper Neutralization in google-protobuf.",
          "fixed_versions": [
            "3.20.3",
            "3.21.7",
            "3.16.3",
            "3.19.6"
          ],
          "identifier": "GMS-2022-5022",
          "identifiers": [
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-5022",
            "CVE-2022-3171"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0.rc.1, all versions starting from 3.19.6 before 3.20.0.rc.1, all versions starting from 3.20.3 before 3.21.0.rc.1, all versions starting from 3.21.7",
          "package_slug": "gem/google-protobuf",
          "pubdate": "2022-10-04",
          "solution": "Upgrade to versions 3.20.3, 3.21.7, 3.16.3, 3.19.6 or above.",
          "title": "Duplicate of ./gem/google-protobuf/CVE-2022-3171.yml",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "1ba67fcd-46ea-4ae7-b1bf-c3b1adb769d9"
        },
        {
          "affected_range": "(,3.16.3),[3.17.0,3.19.6),[3.20.0,3.20.3),[3.21.0,3.21.7)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0 before 3.19.6, all versions starting from 3.20.0 before 3.20.3, all versions starting from 3.21.0 before 3.21.7",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-04-27",
          "description": "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.",
          "fixed_versions": [
            "3.16.3",
            "3.19.6",
            "3.20.3",
            "3.21.7"
          ],
          "identifier": "CVE-2022-3171",
          "identifiers": [
            "CVE-2022-3171",
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4942"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0, all versions starting from 3.19.6 before 3.20.0, all versions starting from 3.20.3 before 3.21.0, all versions starting from 3.21.7",
          "package_slug": "maven/com.google.protobuf/protobuf-java",
          "pubdate": "2022-10-12",
          "solution": "Upgrade to versions 3.16.3, 3.19.6, 3.20.3, 3.21.7 or above.",
          "title": "Improper Input Validation",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-3171",
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "bc13f0b9-f5ec-4ebc-853e-73168937cae0"
        },
        {
          "affected_range": "(,0)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0-rc-1 before 3.19.6, all versions starting from 3.20.0-rc-1 before 3.20.3, all versions starting from 3.21.0-rc-1 before 3.21.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "Improper Neutralization in com.google.protobuf:protobuf-java.",
          "fixed_versions": [
            "3.20.3",
            "3.21.7",
            "3.16.3",
            "3.19.6"
          ],
          "identifier": "GMS-2022-4942",
          "identifiers": [
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4942",
            "CVE-2022-3171"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0-rc-1, all versions starting from 3.19.6 before 3.20.0-rc-1, all versions starting from 3.20.3 before 3.21.0-rc-1, all versions starting from 3.21.7",
          "package_slug": "maven/com.google.protobuf/protobuf-java",
          "pubdate": "2022-10-04",
          "solution": "Upgrade to versions 3.20.3, 3.21.7, 3.16.3, 3.19.6 or above.",
          "title": "Duplicate of ./maven/com.google.protobuf/protobuf-java/CVE-2022-3171.yml",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "f185007f-fc92-4539-b022-c32f609f9b04"
        },
        {
          "affected_range": "(,3.16.3),[3.17.0-rc-1,3.19.6),[3.20.0-rc-1,3.20.3),[3.21.0-rc-1,3.21.7)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0-rc-1 before 3.19.6, all versions starting from 3.20.0-rc-1 before 3.20.3, all versions starting from 3.21.0-rc-1 before 3.21.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "Improper Neutralization in com.google.protobuf:protobuf-javalite.",
          "fixed_versions": [
            "3.20.3",
            "3.21.7",
            "3.16.3",
            "3.19.6"
          ],
          "identifier": "GMS-2022-4943",
          "identifiers": [
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4943",
            "CVE-2022-3171"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0-rc-1, all versions starting from 3.19.6 before 3.20.0-rc-1, all versions starting from 3.20.3 before 3.21.0-rc-1, all versions starting from 3.21.7",
          "package_slug": "maven/com.google.protobuf/protobuf-javalite",
          "pubdate": "2022-10-04",
          "solution": "Upgrade to versions 3.20.3, 3.21.7, 3.16.3, 3.19.6 or above.",
          "title": "Improper Neutralization",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "c03d4a97-b267-45f8-a21b-b9044ade791b"
        },
        {
          "affected_range": "(,3.16.3),[3.17.0-rc-1,3.19.6),[3.20.0-rc-1,3.20.3),[3.21.0-rc-1,3.21.7)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0-rc-1 before 3.19.6, all versions starting from 3.20.0-rc-1 before 3.20.3, all versions starting from 3.21.0-rc-1 before 3.21.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "Improper Neutralization in com.google.protobuf:protobuf-kotlin-lite.",
          "fixed_versions": [
            "3.20.3",
            "3.21.7",
            "3.16.3",
            "3.19.6"
          ],
          "identifier": "GMS-2022-4945",
          "identifiers": [
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4945",
            "CVE-2022-3171"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0-rc-1, all versions starting from 3.19.6 before 3.20.0-rc-1, all versions starting from 3.20.3 before 3.21.0-rc-1, all versions starting from 3.21.7",
          "package_slug": "maven/com.google.protobuf/protobuf-kotlin-lite",
          "pubdate": "2022-10-04",
          "solution": "Upgrade to versions 3.20.3, 3.21.7, 3.16.3, 3.19.6 or above.",
          "title": "Improper Neutralization",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "128f2825-cbe0-47b1-ae20-0ed8af3df6e3"
        },
        {
          "affected_range": "(,3.16.3),[3.17.0,3.19.6),[3.20.0,3.20.3),[3.21.0,3.21.7)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0 before 3.19.6, all versions starting from 3.20.0 before 3.20.3, all versions starting from 3.21.0 before 3.21.7",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-04-27",
          "description": "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.",
          "fixed_versions": [
            "3.16.3",
            "3.19.6",
            "3.20.3",
            "3.21.7"
          ],
          "identifier": "CVE-2022-3171",
          "identifiers": [
            "CVE-2022-3171",
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4944"
          ],
          "not_impacted": "",
          "package_slug": "maven/com.google.protobuf/protobuf-kotlin",
          "pubdate": "2022-10-12",
          "solution": "Upgrade to versions 3.16.3, 3.19.6, 3.20.3, 3.21.7 or above.",
          "title": "Uncontrolled Resource Consumption",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-3171",
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "89cbf335-663b-4d85-8566-cf821a9a413f"
        },
        {
          "affected_range": "(,0)",
          "affected_versions": "All versions before 3.16.3, all versions starting from 3.17.0-rc-1 before 3.19.6, all versions starting from 3.20.0-rc-1 before 3.20.3, all versions starting from 3.21.0-rc-1 before 3.21.7",
          "cwe_ids": [
            "CWE-1035",
            "CWE-707",
            "CWE-937"
          ],
          "date": "2022-10-04",
          "description": "Improper Neutralization in com.google.protobuf:protobuf-kotlin.",
          "fixed_versions": [
            "3.20.3",
            "3.21.7",
            "3.16.3",
            "3.19.6"
          ],
          "identifier": "GMS-2022-4944",
          "identifiers": [
            "GHSA-h4h5-3hr4-j3g2",
            "GMS-2022-4944",
            "CVE-2022-3171"
          ],
          "not_impacted": "All versions starting from 3.16.3 before 3.17.0-rc-1, all versions starting from 3.19.6 before 3.20.0-rc-1, all versions starting from 3.20.3 before 3.21.0-rc-1, all versions starting from 3.21.7",
          "package_slug": "maven/com.google.protobuf/protobuf-kotlin",
          "pubdate": "2022-10-04",
          "solution": "Upgrade to versions 3.20.3, 3.21.7, 3.16.3, 3.19.6 or above.",
          "title": "Duplicate of ./maven/com.google.protobuf/protobuf-kotlin/CVE-2022-3171.yml",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
            "https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v21.7",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6",
            "https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3",
            "https://github.com/advisories/GHSA-h4h5-3hr4-j3g2"
          ],
          "uuid": "ae48f926-fc89-4d4c-a370-50c09bb5766b"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.16.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.6",
                "versionStartIncluding": "3.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.3",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.7",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.16.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.16.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.7",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.3",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.6",
                "versionStartIncluding": "3.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.6",
                "versionStartIncluding": "3.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.3",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.7",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.16.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.7",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.3",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.6",
                "versionStartIncluding": "3.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.7",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.3",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.6",
                "versionStartIncluding": "3.17.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.16.3",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@google.com",
          "ID": "CVE-2022-3171"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-noinfo"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"
            },
            {
              "name": "FEDORA-2022-25f35ed634",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/"
            },
            {
              "name": "GLSA-202301-09",
              "refsource": "GENTOO",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://security.gentoo.org/glsa/202301-09"
            },
            {
              "name": "FEDORA-2022-15729fa33d",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-04-27T03:15Z",
      "publishedDate": "2022-10-12T23:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…