Skip to content
Heist/ feed
Back to feed
High

golang-github-containers-psgo — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-1227

A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.

Products
golang-github-containers-psgo
Affected versions
1.10.0+ds1-2ubuntu1, 1.3.1-1, 1.3.2-1, 1.4.0-1, 1.4.0-1ubuntu0.1, 1.5.2-1, 1.7.1+ds1-1, 1.9.0-1ubuntu1
Fixed versions
Not specified
CVEs
CVE-2022-1227
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 00:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-1227

core-osv · Original source

Published 29 Apr 2022, 16:15 UTC

A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.

osv:UBUNTU-CVE-2022-1227

golang-github-containers-psgo

Fixed versions: Not specified

golang-github-containers-psgo

Fixed versions: Not specified

golang-github-containers-psgo

Fixed versions: Not specified

golang-github-containers-psgo

Fixed versions: Not specified

golang-github-containers-psgo

Fixed versions: Not specified

golang-github-containers-psgo

Fixed versions: Not specified

Complete source record
{
  "id": "ffcff852d4c8f7f557cdf544aab0319e66178b409ca955b6b16ee4f881ec9d4f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-1227",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-1227",
    "summary": "A privilege escalation flaw was found in Podman. This flaw allows an attacker to publish a malicious image to a public registry. Once this image is downloaded by a potential victim, the vulnerability is triggered after a user runs the 'podman top' command. This action gives the attacker access to the host filesystem, leading to information disclosure or denial of service.",
    "evidence": "osv:UBUNTU-CVE-2022-1227",
    "products": [
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.3.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.3.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.4.0-1ubuntu0.1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.5.2-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.7.1+ds1-1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0-1ubuntu1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.10.0+ds1-2ubuntu1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-containers-psgo",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.9.0-1ubuntu1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.10.0+ds1-2ubuntu1",
            "evidence": "/affected/5/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-1227",
      "aliases": [
        "UBUNTU-CVE-2022-1227"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.3.1-1",
            "1.3.2-1",
            "1.4.0-1",
            "1.4.0-1ubuntu0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.4.0-1ubuntu0.1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.5.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.5.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.7.1+ds1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.7.1+ds1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.9.0-1ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.9.0-1ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.10.0+ds1-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.10.0+ds1-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-psgo",
            "purl": "pkg:deb/ubuntu/golang-github-containers-psgo?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.9.0-1ubuntu1",
            "1.10.0+ds1-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-1227.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-containers-psgo-dev",
                "binary_version": "1.10.0+ds1-2ubuntu1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:55:56.525273531Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-1227"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-1227",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2070368",
        "https://github.com/containers/psgo/pull/92",
        "https://github.com/containers/psgo/commit/d9467da9f563a9de1ece79dcae86b37b1db75443",
        "https://www.cve.org/CVERecord?id=CVE-2022-1227"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-1227",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 354343,
  "published_at": "2022-04-29T16:15:00+00:00"
}