Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    2 vulnerabilities by google.golang.org/protobuf

    CVE-2024-24786 (GCVE-0-2024-24786)

    Vulnerability from cvelistv5 – Published: 2024-03-05 22:22 – Updated: 2025-02-13 17:40
    VLAI
    Title
    Infinite loop in JSON unmarshaling in google.golang.org/protobuf
    Summary
    The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-1286 - Improper Validation of Syntactic Correctness of Input
    Assigner
    Go
    Impacted products
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "affected": [
              {
                "cpes": [
                  "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unknown",
                "product": "go",
                "vendor": "golang",
                "versions": [
                  {
                    "lessThan": "1.33.0",
                    "status": "affected",
                    "version": "0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "metrics": [
              {
                "cvssV3_1": {
                  "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"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-24786",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-11-07T16:22:27.828054Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-11-07T16:23:32.865Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          },
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-01T23:28:12.790Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/cl/569356"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pkg.go.dev/vuln/GO-2024-2611"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "http://www.openwall.com/lists/oss-security/2024/03/08/4"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://security.netapp.com/advisory/ntap-20240517-0002/"
              }
            ],
            "title": "CVE Program Container"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "google.golang.org/protobuf/encoding/protojson",
              "product": "google.golang.org/protobuf/encoding/protojson",
              "programRoutines": [
                {
                  "name": "UnmarshalOptions.unmarshal"
                },
                {
                  "name": "Unmarshal"
                },
                {
                  "name": "UnmarshalOptions.Unmarshal"
                }
              ],
              "vendor": "google.golang.org/protobuf",
              "versions": [
                {
                  "lessThan": "1.33.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "google.golang.org/protobuf/internal/encoding/json",
              "product": "google.golang.org/protobuf/internal/encoding/json",
              "programRoutines": [
                {
                  "name": "Decoder.Read"
                },
                {
                  "name": "Decoder.Peek"
                }
              ],
              "vendor": "google.golang.org/protobuf",
              "versions": [
                {
                  "lessThan": "1.33.0",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "CWE-1286: Improper Validation of Syntactic Correctness of Input",
                  "lang": "en"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-06-10T17:12:44.017Z",
            "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
            "shortName": "Go"
          },
          "references": [
            {
              "url": "https://go.dev/cl/569356"
            },
            {
              "url": "https://pkg.go.dev/vuln/GO-2024-2611"
            },
            {
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/"
            },
            {
              "url": "http://www.openwall.com/lists/oss-security/2024/03/08/4"
            },
            {
              "url": "https://security.netapp.com/advisory/ntap-20240517-0002/"
            }
          ],
          "title": "Infinite loop in JSON unmarshaling in google.golang.org/protobuf"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2024-24786",
        "datePublished": "2024-03-05T22:22:35.299Z",
        "dateReserved": "2024-01-30T16:05:14.757Z",
        "dateUpdated": "2025-02-13T17:40:25.868Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    CVE-2023-24535 (GCVE-0-2023-24535)

    Vulnerability from cvelistv5 – Published: 2023-06-08 20:26 – Updated: 2025-01-06 19:33
    VLAI
    Title
    Panic when parsing invalid messages in google.golang.org/protobuf
    Summary
    Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic.
    SSVC
    Exploitation: none Automatable: yes Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    Assigner
    Go
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-02T11:03:17.765Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/cl/475995"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://github.com/golang/protobuf/issues/1530"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pkg.go.dev/vuln/GO-2023-1631"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "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"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2023-24535",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-01-06T19:32:44.668183Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-01-06T19:33:28.532Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "google.golang.org/protobuf/encoding/prototext",
              "product": "google.golang.org/protobuf/encoding/prototext",
              "programRoutines": [
                {
                  "name": "UnmarshalOptions.unmarshal"
                },
                {
                  "name": "Unmarshal"
                },
                {
                  "name": "UnmarshalOptions.Unmarshal"
                }
              ],
              "vendor": "google.golang.org/protobuf",
              "versions": [
                {
                  "lessThan": "1.29.1",
                  "status": "affected",
                  "version": "1.29.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "google.golang.org/protobuf/internal/encoding/text",
              "product": "google.golang.org/protobuf/internal/encoding/text",
              "programRoutines": [
                {
                  "name": "parseNumber"
                },
                {
                  "name": "Decoder.Peek"
                },
                {
                  "name": "Decoder.Read"
                }
              ],
              "vendor": "google.golang.org/protobuf",
              "versions": [
                {
                  "lessThan": "1.29.1",
                  "status": "affected",
                  "version": "1.29.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "CWE-125: Out-of-bounds Read",
                  "lang": "en"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-06-12T19:07:56.917Z",
            "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
            "shortName": "Go"
          },
          "references": [
            {
              "url": "https://go.dev/cl/475995"
            },
            {
              "url": "https://github.com/golang/protobuf/issues/1530"
            },
            {
              "url": "https://pkg.go.dev/vuln/GO-2023-1631"
            }
          ],
          "title": "Panic when parsing invalid messages in google.golang.org/protobuf"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2023-24535",
        "datePublished": "2023-06-08T20:26:40.313Z",
        "dateReserved": "2023-01-25T21:19:20.642Z",
        "dateUpdated": "2025-01-06T19:33:28.532Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }