ubuntu-cve-2024-24786
Vulnerability from osv_ubuntu
Published
2024-03-05 23:15
Modified
2026-05-20 15:07
Summary
Details

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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-osconfig-agent",
            "binary_version": "20240524.03-0ubuntu2~16.04.0"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "google-osconfig-agent",
        "purl": "pkg:deb/ubuntu/google-osconfig-agent@20240524.03-0ubuntu2~16.04.0?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210219.00-0ubuntu1~16.04.0",
        "20230504.00-0ubuntu1~16.04.0",
        "20240320.00-0ubuntu1~16.04.0",
        "20240524.03-0ubuntu2~16.04.0"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-osconfig-agent",
            "binary_version": "20240926.03-0ubuntu1~18.04.0"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "google-osconfig-agent",
        "purl": "pkg:deb/ubuntu/google-osconfig-agent@20240926.03-0ubuntu1~18.04.0?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210219.00-0ubuntu1~18.04.0",
        "20210608.1-0ubuntu1~18.04.1",
        "20210608.1-0ubuntu1~18.04.2",
        "20220824.00-0ubuntu1~18.04.1",
        "20230504.00-0ubuntu1~18.04.0",
        "20240320.00-0ubuntu1~18.04.0",
        "20240524.03-0ubuntu2~18.04.0",
        "20240926.03-0ubuntu1~18.04.0"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "google-osconfig-agent",
            "binary_version": "20250115.01-0ubuntu1~20.04.0"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "google-osconfig-agent",
        "purl": "pkg:deb/ubuntu/google-osconfig-agent@20250115.01-0ubuntu1~20.04.0?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210219.00-0ubuntu1~20.04.0",
        "20210608.1-0ubuntu1~20.04.0",
        "20210608.1-0ubuntu1~20.04.1",
        "20220824.00-0ubuntu1~20.04.1",
        "20230504.00-0ubuntu1~20.04.0",
        "20240320.00-0ubuntu1~20.04.0",
        "20240320.00-0ubuntu1~20.04.1",
        "20240524.03-0ubuntu2~20.04.0",
        "20240926.03-0ubuntu1~20.04.0",
        "20250115.01-0ubuntu1~20.04.0"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-protobuf-dev",
            "binary_version": "1.27.1-1ubuntu0.1"
          },
          {
            "binary_name": "protoc-gen-go",
            "binary_version": "1.27.1-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-google-protobuf",
        "purl": "pkg:deb/ubuntu/golang-google-protobuf@1.27.1-1ubuntu0.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.25.0+git20201208.160c747-1",
        "1.27.1-1",
        "1.27.1-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20231004.02-0ubuntu1~22.04.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20231004.02-0ubuntu1~22.04.4?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20231004.02-0ubuntu1~22.04.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210629.00-0ubuntu1",
        "20210629.00-0ubuntu2",
        "20220104.00-0ubuntu1",
        "20220104.00-0ubuntu2",
        "20220622.00-0ubuntu2~22.04.0",
        "20220622.00-0ubuntu2~22.04.1",
        "20230426.00-0ubuntu2~22.04.0",
        "20231004.02-0ubuntu1~22.04.1",
        "20231004.02-0ubuntu1~22.04.2",
        "20231004.02-0ubuntu1~22.04.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "google-osconfig-agent",
            "binary_version": "20230504.00-0ubuntu1~22.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "google-osconfig-agent",
        "purl": "pkg:deb/ubuntu/google-osconfig-agent@20230504.00-0ubuntu1~22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20230504.00-0ubuntu1~22.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20210608.1-0ubuntu1",
        "20210608.1-0ubuntu2",
        "20210608.1-0ubuntu3",
        "20220824.00-0ubuntu1~22.04.1",
        "20220824.00-0ubuntu1~22.04.2",
        "20230504.00-0ubuntu1~22.04.0"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-protobuf-dev",
            "binary_version": "1.32.0-1ubuntu0.3"
          },
          {
            "binary_name": "protoc-gen-go",
            "binary_version": "1.32.0-1ubuntu0.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "golang-google-protobuf",
        "purl": "pkg:deb/ubuntu/golang-google-protobuf@1.32.0-1ubuntu0.3?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.28.1-3build1",
        "1.31.0-1",
        "1.32.0-1",
        "1.32.0-1ubuntu0.1",
        "1.32.0-1ubuntu0.2",
        "1.32.0-1ubuntu0.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "google-guest-agent",
            "binary_version": "20240213.00-0ubuntu3.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "google-guest-agent",
        "purl": "pkg:deb/ubuntu/google-guest-agent@20240213.00-0ubuntu3.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20240213.00-0ubuntu3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20230426.00-0ubuntu3",
        "20231004.02-0ubuntu1",
        "20231004.02-0ubuntu3",
        "20240213.00-0ubuntu1",
        "20240213.00-0ubuntu2",
        "20240213.00-0ubuntu3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "google-osconfig-agent",
            "binary_version": "20240320.00-0ubuntu1~24.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "google-osconfig-agent",
        "purl": "pkg:deb/ubuntu/google-osconfig-agent@20240320.00-0ubuntu1~24.04.1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "20240320.00-0ubuntu1~24.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "20230504.00-0ubuntu2",
        "20230504.00-0ubuntu3",
        "20240320.00-0ubuntu1~24.04.0"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-protobuf-dev",
            "binary_version": "1.36.5-1"
          },
          {
            "binary_name": "protoc-gen-go",
            "binary_version": "1.36.5-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "golang-google-protobuf",
        "purl": "pkg:deb/ubuntu/golang-google-protobuf@1.36.5-1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.36.5-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "golang-google-protobuf-dev",
            "binary_version": "1.36.7-1"
          },
          {
            "binary_name": "protoc-gen-go",
            "binary_version": "1.36.7-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "golang-google-protobuf",
        "purl": "pkg:deb/ubuntu/golang-google-protobuf@1.36.7-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.36.5-1",
        "1.36.7-1"
      ]
    }
  ],
  "aliases": [],
  "details": "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.",
  "id": "UBUNTU-CVE-2024-24786",
  "modified": "2026-05-20T15:07:37Z",
  "published": "2024-03-05T23:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2024-24786"
    },
    {
      "type": "REPORT",
      "url": "https://go-review.googlesource.com/c/protobuf/+/569356"
    },
    {
      "type": "REPORT",
      "url": "https://go.dev/cl/569356"
    },
    {
      "type": "REPORT",
      "url": "https://pkg.go.dev/vuln/GO-2024-2611"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2024-24786"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6746-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6746-2"
    }
  ],
  "related": [
    "USN-6746-1",
    "USN-6746-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2024-24786"
  ]
}



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…