{"schemaVersion":3,"id":"CVE-2022-4123","aliases":["UBUNTU-CVE-2022-4123","DEBIAN-CVE-2022-4123","GHSA-rprg-4v7q-87v7","GO-2022-1159"],"status":"published","duplicateOf":null,"title":null,"description":"A flaw was found in Buildah. The local path and the lowest subdirectory may be disclosed due to incorrect absolute path traversal, resulting in an impact to confidentiality.","dates":{"published":"2022-12-08T00:00:00.000Z","modified":"2025-04-22T20:33:21.916Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.3,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00244,"percentile":0.14682,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00244},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00238,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00238,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00238,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00238,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00244,"percentile":0.14682}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00244,"percentile":0.14682}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-23","name":"Relative Path Traversal","description":"The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as \"..\" that can resolve to a location that is outside of that directory.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/23.html"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"debian","product":"golang-github-containers-buildah","name":"golang-github-containers-buildah","label":"golang-github-containers-buildah","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/golang-github-containers-buildah","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"golang-github-containers-buildah","name":"golang-github-containers-buildah","label":"golang-github-containers-buildah","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/golang-github-containers-buildah","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"github.com/containers/podman","product":"v4","name":"github.com/containers/podman/v4","label":"v4","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/containers/podman/v4","purlType":"golang","versions":[{"text":"≥ 4.1.0-rc1, ≤ 4.4.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.1.0-rc1","noFixRecorded":true,"fixedIn":null}],"versionsText":"≥ 4.1.0-rc1, ≤ 4.4.1 | ≥ 4.1.0-rc1 (No fix recorded)","eol":null,"hubHref":null},{"vendor":"podman_project","product":"podman","name":"podman","label":"podman","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.1.0","noFixRecorded":false,"fixedIn":null},{"text":"4.1.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.1.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"4.1.1","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"4.2.0:rc3","noFixRecorded":false,"fixedIn":null},{"text":"4.2.1","noFixRecorded":false,"fixedIn":null},{"text":"4.3.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.1.0 | 4.1.0:rc1 | 4.1.0:rc2 | 4.1.1 | 4.2.0 | 4.2.0:rc1 | 4.2.0:rc2 | 4.2.0:rc3 | 4.2.1 | 4.3.0","eol":{"isEol":true,"eolDate":"2022-06-14T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"4.1","label":"4.1","eolFrom":"2022-06-14T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"4.1.1"},"product":{"name":"podman","label":"Podman","category":"app"}},"hubHref":"/vendor/podman_project/podman"}],"affectedCount":5,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2144989","label":"bugzilla.redhat.com/show_bug.cgi?id=2144989","hostname":"bugzilla.redhat.com","tags":["WEB","REPORT","Issue Tracking","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-4123","label":"ubuntu.com/security/CVE-2022-4123","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-4123","label":"access.redhat.com/security/cve/CVE-2022-4123","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-4123","label":"www.cve.org/CVERecord?id=CVE-2022-4123","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-4123","label":"security-tracker.debian.org/tracker/CVE-2022-4123","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4123","label":"nvd.nist.gov/vuln/detail/CVE-2022-4123","hostname":"nvd.nist.gov","tags":["Advisory","Oval"]},{"url":"https://github.com/containers/podman/issues/13293","label":"github.com/containers/podman/issues/13293","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/containers/podman/pull/13531","label":"github.com/containers/podman/pull/13531","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/containers/podman/commit/7934b77dd5372c22063686a218b8b48c2fcaca8c","label":"github.com/containers/podman/commit/7934b77dd5372c22063686a218b8b48c2fcaca8c","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/containers/podman","label":"github.com/containers/podman","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1159","label":"pkg.go.dev/vuln/GO-2022-1159","hostname":"pkg.go.dev","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-12-08T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-04-22T20:33:21.916Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":13,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:39:41.059Z","stale":false,"partial":false}}