Red Hat VEX
RHVEX-CVE-2024-24786
google.golang.org/protobuf: golang-protobuf: Denial of Service via infinite loop when unmarshaling invalid JSON
Details
A flaw was found in golang-protobuf. The protojson unmarshaling function can enter an infinite loop when parsing certain invalid JSON inputs, specifically when decoding messages containing Any values or when configured to discard unknown fields. A remote attacker can exploit this vulnerability by submitting specially crafted JSON payloads to cause excessive CPU utilization and hang the application, resulting in a Denial of Service (DoS).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:10 | buildah | All versions, no fix yet |
| Red Hat:enterprise_linux:10 | buildah-tests | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | buildah | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | buildah-tests | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | containers-common | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | delve | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | go-toolset | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | osbuild-composer-worker | All versions, will not be fixed |
| Red Hat:enterprise_linux:8 | podman | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-catatonit | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-docker | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-gvproxy | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-manpages | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-plugins | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-remote | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | podman-tests | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | skopeo | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | skopeo-tests | All versions, no fix yet |
| Red Hat:enterprise_linux:9 | ignition | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-edge | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-grub | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | ignition-validate | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-core | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-dnf-json | All versions, will not be fixed |
| Red Hat:enterprise_linux:9 | osbuild-composer-worker | All versions, will not be fixed |
References
- https://access.redhat.com/security/cve/CVE-2024-24786
- https://bugzilla.redhat.com/show_bug.cgi?id=2268046
- https://www.cve.org/CVERecord?id=CVE-2024-24786
- https://nvd.nist.gov/vuln/detail/CVE-2024-24786
- https://go.dev/cl/569356
- https://groups.google.com/g/golang-announce/c/ArQ6CDgtEjY/
- https://pkg.go.dev/vuln/GO-2024-2611