GSD-2022-1941

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
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.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-1941",
    "description": "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.",
    "id": "GSD-2022-1941",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-1941.html",
      "https://ubuntu.com/security/CVE-2022-1941",
      "https://security.archlinux.org/CVE-2022-1941"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-1941"
      ],
      "details": "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.",
      "id": "GSD-2022-1941",
      "modified": "2023-12-13T01:19:28.076585Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@google.com",
        "ID": "CVE-2022-1941",
        "STATE": "PUBLIC",
        "TITLE": "Out of Memory issue in ProtocolBuffers for cpp and python"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "protobuf-cpp",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.16.1"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.17.3"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.18.2"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.19.4"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.20.1"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.21.5"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Google LLC"
            },
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "protobuf-python",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.16.1"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.17.3"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.18.2"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.19.4"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "3.20.1"
                        },
                        {
                          "version_affected": "\u003c=",
                          "version_value": "4.21.5"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "Google LLC"
            }
          ]
        }
      },
      "credit": [
        {
          "lang": "eng",
          "value": "CluterFuzz - https://google.github.io/clusterfuzz/"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "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."
          }
        ]
      },
      "generator": {
        "engine": "Vulnogram 0.0.9"
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "ADJACENT",
          "availabilityImpact": "HIGH",
          "baseScore": 5.7,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-1286: Improper Validation of Syntactic Correctness of Input"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://cloud.google.com/support/bulletins#GCP-2022-019",
            "refsource": "CONFIRM",
            "url": "https://cloud.google.com/support/bulletins#GCP-2022-019"
          },
          {
            "name": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf",
            "refsource": "CONFIRM",
            "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf"
          },
          {
            "name": "[oss-security] 20220927 CVE-2022-1941: Protobuf C++, Python DoS",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2022/09/27/1"
          },
          {
            "name": "FEDORA-2022-25f35ed634",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/"
          },
          {
            "name": "[debian-lts-announce] 20230418 [SECURITY] [DLA 3393-1] protobuf security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html"
          },
          {
            "name": "FEDORA-2022-15729fa33d",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/"
          }
        ]
      },
      "source": {
        "discovery": "INTERNAL"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c3.18.3||\u003e=3.19.0 \u003c3.19.5||\u003e=3.20.0 \u003c3.20.2||\u003e=3.21.0 \u003c3.21.6",
          "affected_versions": "All versions before 3.18.3, all versions starting from 3.19.0 before 3.19.5, all versions starting from 3.20.0 before 3.20.2, all versions starting from 3.21.0 before 3.21.6",
          "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-06-27",
          "description": "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_versions": [
            "3.19.6",
            "3.21.9"
          ],
          "identifier": "CVE-2022-1941",
          "identifiers": [
            "CVE-2022-1941",
            "GHSA-8gq9-2x98-w8hf"
          ],
          "not_impacted": "All versions starting from 3.18.3 before 3.19.0, all versions starting from 3.19.5 before 3.20.0, all versions starting from 3.20.2 before 3.21.0, all versions starting from 3.21.6",
          "package_slug": "conan/protobuf",
          "pubdate": "2022-09-22",
          "solution": "Upgrade to versions 3.19.6, 3.21.9 or above.",
          "title": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-1941",
            "https://cloud.google.com/support/bulletins#GCP-2022-019",
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf"
          ],
          "uuid": "7863d140-0359-423e-9306-d370b73a4300"
        },
        {
          "affected_range": "\u003c3.18.3||\u003e=3.19.0,\u003c3.19.5||\u003e=3.20.0,\u003c3.20.2||\u003e=4.0.0,\u003c4.21.6",
          "affected_versions": "All versions before 3.18.3, all versions starting from 3.19.0 before 3.19.5, all versions starting from 3.20.0 before 3.20.2, all versions starting from 4.0.0 before 4.21.6",
          "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-06-27",
          "description": "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_versions": [
            "3.18.3",
            "3.19.5",
            "3.20.2",
            "4.21.6"
          ],
          "identifier": "CVE-2022-1941",
          "identifiers": [
            "CVE-2022-1941",
            "GHSA-8gq9-2x98-w8hf"
          ],
          "not_impacted": "All versions starting from 3.18.3 before 3.19.0, all versions starting from 3.19.5 before 3.20.0, all versions starting from 3.20.2 before 4.0.0, all versions starting from 4.21.6",
          "package_slug": "pypi/protobuf",
          "pubdate": "2022-09-22",
          "solution": "Upgrade to versions 3.18.3, 3.19.5, 3.20.2, 4.21.6 or above.",
          "title": "Improper Restriction of Operations within the Bounds of a Memory Buffer",
          "urls": [
            "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-1941",
            "https://cloud.google.com/support/bulletins#GCP-2022-019",
            "https://github.com/advisories/GHSA-8gq9-2x98-w8hf"
          ],
          "uuid": "485f851d-f375-4032-8db0-7e8b03909ee7"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.21.6",
                "versionStartIncluding": "3.21.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.2",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.5",
                "versionStartIncluding": "3.19.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.18.3",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.21.6",
                "versionStartIncluding": "4.0.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.20.2",
                "versionStartIncluding": "3.20.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.19.5",
                "versionStartIncluding": "3.19.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "3.18.3",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@google.com",
          "ID": "CVE-2022-1941"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "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."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "NVD-CWE-Other"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://cloud.google.com/support/bulletins#GCP-2022-019",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://cloud.google.com/support/bulletins#GCP-2022-019"
            },
            {
              "name": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf"
            },
            {
              "name": "[oss-security] 20220927 CVE-2022-1941: Protobuf C++, Python DoS",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2022/09/27/1"
            },
            {
              "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": "[debian-lts-announce] 20230418 [SECURITY] [DLA 3393-1] protobuf security update",
              "refsource": "MLIST",
              "tags": [
                "Mailing List"
              ],
              "url": "https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html"
            },
            {
              "name": "FEDORA-2022-15729fa33d",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List"
              ],
              "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-06-27T15:45Z",
      "publishedDate": "2022-09-22T15: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…

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…