Skip to content
Heist/ feed
Back to feed
MediumFix available

golang-github-containers-buildah — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2022-27651

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

Products
golang-github-containers-buildah
Affected versions
Not specified
Fixed versions
1.28.0+ds1-2
CVEs
CVE-2022-27651
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 14:44 UTC · Revision 1

Source evidence

DEBIAN-CVE-2022-27651

core-osv · Original source

Published 4 Apr 2022, 20:15 UTC

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

osv:DEBIAN-CVE-2022-27651

golang-github-containers-buildah

Fixed versions: 1.28.0+ds1-2

golang-github-containers-buildah

Fixed versions: 1.28.0+ds1-2

golang-github-containers-buildah

Fixed versions: 1.28.0+ds1-2

Complete source record
{
  "id": "c3bb315adb268dd532477852cf1cb94a7a73746d3b9578837ef4d13654bd7695",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-27651",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2022-27651",
    "summary": "A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.",
    "evidence": "osv:DEBIAN-CVE-2022-27651",
    "products": [
      {
        "name": {
          "value": "golang-github-containers-buildah",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.28.0+ds1-2",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-github-containers-buildah",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.28.0+ds1-2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "golang-github-containers-buildah",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.28.0+ds1-2",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2022-27651",
      "aliases": [
        "DEBIAN-CVE-2022-27651"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.28.0+ds1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-buildah",
            "purl": "pkg:deb/debian/golang-github-containers-buildah?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-27651.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.28.0+ds1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-buildah",
            "purl": "pkg:deb/debian/golang-github-containers-buildah?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-27651.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.28.0+ds1-2"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-containers-buildah",
            "purl": "pkg:deb/debian/golang-github-containers-buildah?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-27651.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-15T08:01:48.412329193Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-27651"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2022-27651"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-27651",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 323149,
  "published_at": "2022-04-04T20:15:10.99+00:00"
}