# CVE-2022-1227: GO-2022-0558 - Privilege escalation in github.com/containers/psgo

Source: https://junglewise.ai/threats/cve-2022-1227-podman-publishes-a-malicious-image-to-public-registries  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-08-22  
License: CC BY 4.0 with a link back

CVE-2022-1227 · Severity: low · CVSS 3.1 · Published 2022-08-22

Privilege escalation in github.com/containers/psgo

Technologies: [github.com/containers/podman/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-containers-podman-v3). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-1227 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-1227 being exploited in the wild.

**How severe is CVE-2022-1227?** Low severity, with a CVSS score of 3.1, published 22 August 2022.

**Which products and versions are affected?** github.com/containers/podman/v3 (Go) ECOSYSTEM:introduced=0,fixed=3.4; github.com/containers/psgo (Go) SEMVER:introduced=0,fixed=1.7.2.

**Is there a fix for CVE-2022-1227?** Yes. github.com/containers/podman/v3 (Go): upgrade to 3.4 or later; github.com/containers/psgo (Go): upgrade to 1.7.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-1227?** Check whether you run github.com/containers/podman/v3 (Go) or github.com/containers/psgo (Go) 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/podman/v3 (Go): upgrade to 3.4 or later

  ```sh
  go get github.com/containers/podman/v3@v3.4
  ```

- github.com/containers/psgo (Go): upgrade to 1.7.2 or later

  ```sh
  go get github.com/containers/psgo@v1.7.2
  ```


## Affected products

- github.com/containers/podman/v3 (Go) ECOSYSTEM:introduced=0,fixed=3.4
- github.com/containers/psgo (Go) SEMVER:introduced=0,fixed=1.7.2

## Identifiers

- CVE-2022-1227
- GHSA-66vw-v2x9-hw75
- GO-2022-0558

## Related threats

- [Podman sandbox bypass via checkpoint image annotation](https://junglewise.ai/threats/cve-2026-94603-podman-the-podman-run-command-can-be-instructed-to-disable-almost)
- [Podman quadlet install incomplete file truncation](https://junglewise.ai/threats/cve-2026-19730-podman-quadlet-install-incomplete-file-truncation)
- [Podman host environment variable leak via malformed container image](https://junglewise.ai/threats/cve-2026-57231-podman-host-environment-variable-leak-via-malformed-container)
- [Podman symlink traversal in WORKDIR path resolution](https://junglewise.ai/threats/cve-2026-55686-podman-symlink-traversal-in-workdir-path-resolution)
- [Podman command injection in HyperV machine backend](https://junglewise.ai/threats/cve-2026-33414-podman-command-injection-in-hyperv-machine-backend)
