CVE-2024-9407: GO-2024-3169 - Improper Input Validation in Buildah and Podman in github.com/containers/buildah

CVE-2024-9407 · Severity: low · CVSS 3.1 · Published 2024-10-09

Improper Input Validation in Buildah and Podman in github.com/containers/buildah

Technologies: github.com/containers/buildah (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go), github.com/containers/podman/v3 (Go), github.com/containers/podman/v4 (Go), github.com/containers/podman/v5 (Go). Vendors: Go.

Quick answers

Is CVE-2024-9407 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-9407 being exploited in the wild.
How severe is CVE-2024-9407?
Low severity, with a CVSS score of 3.1, published 9 October 2024.
Which products and versions are affected?
github.com/containers/buildah (Go) SEMVER:introduced=0,fixed=1.37.4; github.com/containers/podman (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4; github.com/containers/podman/v2 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4; github.com/containers/podman/v3 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4; and 2 more.
Is there a fix for CVE-2024-9407?
Yes. github.com/containers/buildah (Go): upgrade to 1.37.4 or later; github.com/containers/podman (Go): upgrade to 5.2.4 or later; github.com/containers/podman/v2 (Go): upgrade to 5.2.4 or later; github.com/containers/podman/v3 (Go): upgrade to 5.2.4 or later; github.com/containers/podman/v4 (Go): upgrade to 5.2.4 or later; github.com/containers/podman/v5 (Go): upgrade to 5.2.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-9407?
Check whether you run github.com/containers/buildah (Go), github.com/containers/podman (Go), github.com/containers/podman/v2 (Go) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/containers/buildah (Go): upgrade to 1.37.4 or later
    go get github.com/containers/buildah@v1.37.4
  • github.com/containers/podman (Go): upgrade to 5.2.4 or later
    go get github.com/containers/podman@v5.2.4
  • github.com/containers/podman/v2 (Go): upgrade to 5.2.4 or later
    go get github.com/containers/podman/v2@v5.2.4
  • github.com/containers/podman/v3 (Go): upgrade to 5.2.4 or later
    go get github.com/containers/podman/v3@v5.2.4
  • github.com/containers/podman/v4 (Go): upgrade to 5.2.4 or later
    go get github.com/containers/podman/v4@v5.2.4
  • github.com/containers/podman/v5 (Go): upgrade to 5.2.4 or later
    go get github.com/containers/podman/v5@v5.2.4

Affected products

  • github.com/containers/buildah (Go) SEMVER:introduced=0,fixed=1.37.4
  • github.com/containers/podman (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4
  • github.com/containers/podman/v2 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4
  • github.com/containers/podman/v3 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4
  • github.com/containers/podman/v4 (Go) SEMVER:introduced=0, SEMVER:introduced=0,fixed=5.2.4
  • github.com/containers/podman/v5 (Go) SEMVER:introduced=0,fixed=5.2.4

Identifiers

  • CVE-2024-9407
  • GHSA-fhqq-8f65-5xfc
  • GO-2024-3169

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.