pysec-2022-48
Vulnerability from pysec
Published
2022-01-26 14:15
Modified
2022-03-09 00:17
Details

Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.

Impacted products
Name purl
protobuf pkg:pypi/protobuf



{
   affected: [
      {
         package: {
            ecosystem: "PyPI",
            name: "protobuf",
            purl: "pkg:pypi/protobuf",
         },
         ranges: [
            {
               events: [
                  {
                     introduced: "0",
                  },
                  {
                     fixed: "3.15.0",
                  },
               ],
               type: "ECOSYSTEM",
            },
         ],
         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.0rc1",
            "3.15.0rc2",
            "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",
         ],
      },
   ],
   aliases: [
      "CVE-2021-22570",
      "GHSA-77rm-9x9h-xj3g",
   ],
   details: "Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.",
   id: "PYSEC-2022-48",
   modified: "2022-03-09T00:17:03.282830Z",
   published: "2022-01-26T14:15:00Z",
   references: [
      {
         type: "WEB",
         url: "https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0",
      },
      {
         type: "WEB",
         url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/",
      },
      {
         type: "WEB",
         url: "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/",
      },
      {
         type: "ADVISORY",
         url: "https://github.com/advisories/GHSA-77rm-9x9h-xj3g",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.