cve.bz

CVE-2023-0778

6.8 mediumEPSS 0.5%Fix available

Medium (6.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/podman/v4 4.4.2.

On this page
A Time-of-check Time-of-use (TOCTOU) flaw was found in podman. This issue may allow a malicious user to replace a normal file in a volume with a symlink while exporting the volume, allowing for access to arbitrary files on the host file system.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 46th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-02-24. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/containers/podman/v4 (Go): fixed in 4.4.2
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-0778 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-0778?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-0778?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-0778 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redhat:enterprise_linux8.0
redhat:enterprise_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qwqv-rqgf-8qh8Gogithub.com/containers/podman/v4<4.4.24.4.2
GO-2023-1681Gogithub.com/containers/podman/v4<4.4.24.4.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpod4.3.1+ds1-7DEBIAN-CVE-2023-0778
UbuntuPro:22.04:LTS, Pro:24.04:LTSlibpodno fix listedUBUNTU-CVE-2023-0778
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.5.0-2.module+el8.8.0+18060+3f21f2ccRHSA-2023:2758
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.6-5.module+el8.8.0+18083+cd85596bRHSA-2023:2802
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.29.1-1.module+el8.8.0+18195+471da4bbRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.8.0+17821+de1b53f1RHSA-2023:2802
Red Hatenterprise_linux:8::appstreamcockpit-podman0:63.1-1.module+el8.8.0+18286+cd236dceRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-1.module+el8.8.0+17821+de1b53f1RHSA-2023:2802
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.6-1.module+el8.8.0+18098+9b44df5fRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.199.0-1.module+el8.8.0+18113+8b5b6979RHSA-2023:2802
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.205.0-2.module+el8.8.0+18438+15d3aa65RHSA-2023:2758
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-2.module+el8.8.0+17821+de1b53f1RHSA-2023:2802
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.2.0-1.module+el8.8.0+18060+3f21f2ccRHSA-2023:2758
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-37.module+el8.8.0+17954+9046de88RHSA-2023:2802
39 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morepodman4.4.4-150300.9.20.1SUSE-SU-2023:1812-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Containers 15 SP4podman4.4.4-150400.4.16.1SUSE-SU-2023:1814-1
openSUSELeap 15.4, Leap Micro 5.3podman4.4.4-150400.4.16.1SUSE-SU-2023:1814-1
openSUSETumbleweedpodman4.4.2-1.1openSUSE-SU-2024:12771-1
AlmaLinux8aardvark-dns2:1.5.0-2.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8buildah, buildah-tests1:1.24.6-5.module_el8.8.0+3468+16b86c82ALSA-2023:2802
AlmaLinux8buildah, buildah-tests1:1.29.1-1.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2023:2802
AlmaLinux8cockpit-podman63.1-1.module_el8.8.0+3557+7ba9cc13ALSA-2023:2758
AlmaLinux8conmon2:2.1.4-1.module_el8.7.0+3344+5bcd850fALSA-2023:2802
AlmaLinux8conmon3:2.1.6-1.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8container-selinux2:2.199.0-1.module_el8.8.0+3468+16b86c82ALSA-2023:2802
AlmaLinux8container-selinux2:2.205.0-2.module_el8.8.0+3557+7ba9cc13ALSA-2023:2758
AlmaLinux8containernetworking-plugins1:1.1.1-2.module_el8.7.0+3344+5bcd850fALSA-2023:2802
AlmaLinux8containernetworking-plugins1:1.2.0-1.module_el8.8.0+3470+252b1910ALSA-2023:2758
AlmaLinux8containers-common2:1-37.module_el8.8.0+3468+16b86c82ALSA-2023:2802
30 more for AlmaLinux in the JSON.
Rocky Linux8cockpit-podman0:46-1.module+el8.9.0+1445+07728297RLSA-2023:2802
Rocky Linux8criu0:3.15-3.module+el8.9.0+1445+07728297RLSA-2023:2758 RLSA-2023:2802
Rocky Linux8libslirp0:4.4.0-1.module+el8.9.0+1445+07728297RLSA-2023:2758 RLSA-2023:2802
Rocky Linux8oci-seccomp-bpf-hook0:1.2.5-2.module+el8.9.0+1445+07728297RLSA-2023:2802
Alpinev3.18, v3.19, v3.20 and 4 morepodman4.4.2-r0ALPINE-CVE-2023-0778
Azure Linux2cri-o1.22.3-10AZL-39612
Azure Linux2podmanno fix listedAZL-43612
Azure Linux3podman5.6.1-2AZL-45381
Alpaquita23podman5.2.5-r0BELL-CVE-2023-0778

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8080020230321153727.0f77c1b7Fixed 2023-05-16RHSA-2023:2758
Red Hat Enterprise Linux 8container-tools:4.0-8080020230217080101.8108cfbcFixed 2023-05-16RHSA-2023:2802
Red Hat OpenShift Container Platform 4.13podman-3:4.4.1-3.rhaos4.13.el8Fixed 2023-05-18RHSA-2023:1325
Red Hat Enterprise Linux 7podmanOut of support scope
Red Hat Enterprise Linux 8container-tools:3.0/podmanNot affected
Red Hat Enterprise Linux 9podmanAffected
Red Hat OpenShift Container Platform 3.11podmanOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-0778.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON