CVE-2025-6032: Github.com/containers/podman/v4 Improper Certificate Validation Vulnerability

HIGH
Advisory Identifier: GHSA-65gg-3w2w-hr4h
CVSS 8.3
CWE-295
Published
Advisory Summary

CVE-2025-6032 is a HIGH (CVSS 8.3) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Github.com/containers/podman/v4 libraries in the Go ecosystem. The issue involves podman improper certificate validation; machine missing tls verification. Remediation is available by upgrading affected packages to version 5.5.2.

CVE-2025-6032 at a Glance

CVE Identifier CVE-2025-6032
GHSA Identifier GHSA-65gg-3w2w-hr4h
Severity HIGH
CVSS v3.1 Base Score 8.3
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Github.com/containers/podman/v4
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-6032

To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v4 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/containers/podman/v4 fixed: Latest secure release
Upgrade github.com/containers/podman/v4 to Latest secure release
github.com/containers/podman/v5 fixed: 5.5.2
Upgrade github.com/containers/podman/v5 to 5.5.2
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/containers/podman/v4

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-6032, inspect your project dependencies for Github.com/containers/podman/v4:

inspect dependencies for github.com/containers/podman/v4

Analyze the terminal output to locate any version of Github.com/containers/podman/v4 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.2), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Github.com/containers/podman/v4, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact The podman machine init command fails to verify the TLS certificate when downloading the VM images from an OCI registry (which it does by default since 5.0.0) allowing a possible Man In The Middle attack. ### Patches https://github.com/containers/podman/commit/726b506acc8a00d99f1a3a1357ecf619a1f798c3 Fixed in v5.5.2 ### Workarounds Download the disk image manually via some other tool that verifies the TLS connection. Then pass the local image as file path (podman machine init --image ./somepath)

CVE-2025-6032 Affected Github.com/containers/podman/v4 Versions

2 component(s)
Fixed Versions:
5.5.2
Product / Package Ecosystem Affected Versions Fixed Version
github.com/containers/podman/v4
Go
≥ 4.8.0
≤ 4.9.5
github.com/containers/podman/v5
Go
< 5.5.2
5.5.2

References

GitHub Advisory / Wiki ADVISORY
https://github.com/containers/podman/security/advisories/GHSA-65gg-3w2w-hr4h
NVD — CVE-2025-6032 NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-6032
Security Fix Commit FIX COMMIT
https://github.com/containers/podman/commit/726b506acc8a00d99f1a3a1357ecf619a1f798c3
Github.com/containers/podman/v4 Source Repository REPOSITORY
https://github.com/containers/podman
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=2372501
Github.com/containers/podman/v4 Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2025-6032
access.redhat.com/errata/rhsa-2025:97... WEB
https://access.redhat.com/errata/RHSA-2025:9766
access.redhat.com/errata/rhsa-2025:97... WEB
https://access.redhat.com/errata/RHSA-2025:9751
access.redhat.com/errata/rhsa-2025:97... WEB
https://access.redhat.com/errata/RHSA-2025:9726
access.redhat.com/errata/rhsa-2025:15... WEB
https://access.redhat.com/errata/RHSA-2025:15397
access.redhat.com/errata/rhsa-2025:11... WEB
https://access.redhat.com/errata/RHSA-2025:11681
access.redhat.com/errata/rhsa-2025:11... WEB
https://access.redhat.com/errata/RHSA-2025:11677
access.redhat.com/errata/rhsa-2025:11... WEB
https://access.redhat.com/errata/RHSA-2025:11363
access.redhat.com/errata/rhsa-2025:11... WEB
https://access.redhat.com/errata/RHSA-2025:11359
access.redhat.com/errata/rhsa-2025:10... WEB
https://access.redhat.com/errata/RHSA-2025:10668
access.redhat.com/errata/rhsa-2025:10... WEB
https://access.redhat.com/errata/RHSA-2025:10551
access.redhat.com/errata/rhsa-2025:10... WEB
https://access.redhat.com/errata/RHSA-2025:10550
access.redhat.com/errata/rhsa-2025:10... WEB
https://access.redhat.com/errata/RHSA-2025:10549
access.redhat.com/errata/rhsa-2025:10... WEB
https://access.redhat.com/errata/RHSA-2025:10295

Frequently Asked Questions

What is CVE-2025-6032?
CVE-2025-6032 is a security vulnerability in Github.com/containers/podman/v4 involving Podman Improper Certificate Validation; machine missing TLS verification under CWE-295: Improper Certificate Validation.
Which Github.com/containers/podman/v4 versions are affected?
Affected versions include releases prior to 5.5.2 across affected packages: github.com/containers/podman/v4, github.com/containers/podman/v5.
What version fixes CVE-2025-6032?
Upgrading to 5.5.2 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/containers/podman/v4 affected?
Yes, github.com/containers/podman/v4 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
Is github.com/containers/podman/v5 affected?
Yes, github.com/containers/podman/v5 is affected in releases prior to 5.5.2. Upgrade your dependency to 5.5.2 or later.
What is the CVSS score of CVE-2025-6032?
CVE-2025-6032 has a CVSS v3.1 base score of 8.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2025-6032?
CVE-2025-6032 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Go dependencies for CVE-2025-6032?
Run the dependency tree command: 'inspect dependencies for github.com/containers/podman/v4'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-65gg-3w2w-hr4h",
  "modified" : "2025-11-29T03:30:15Z",
  "published" : "2025-06-25T21:57:00Z",
  "aliases" : [ "CVE-2025-6032" ],
  "summary" : "Podman Improper Certificate Validation; machine missing TLS verification",
  "details" : "### Impact\nThe podman machine init command fails to verify the TLS certificate when downloading the VM images from an OCI registry (which it does by default since 5.0.0) allowing a possible Man In The Middle attack.\n\n### Patches\nhttps://github.com/containers/podman/commit/726b506acc8a00d99f1a3a1357ecf619a1f798c3\nFixed in v5.5.2\n\n### Workarounds\nDownload the disk image manually via some other tool that verifies the TLS connection. Then pass the local image as file path (podman machine init --image ./somepath)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v4"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.8.0"
      }, {
        "last_affected" : "4.9.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v5"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.5.2"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/containers/podman/security/advisories/GHSA-65gg-3w2w-hr4h"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-6032"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/podman/commit/726b506acc8a00d99f1a3a1357ecf619a1f798c3"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/containers/podman"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2372501"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-6032"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:9766"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:9751"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:9726"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:15397"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:11681"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:11677"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:11363"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:11359"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:10668"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:10551"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:10550"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:10549"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2025:10295"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-06-25T21:57:00Z",
    "nvd_published_at" : "2025-06-24T14:15:30Z"
  }
}