{"id":"CVE-2022-4122","published":"2022-12-08T00:00:00Z","modified":"2025-04-22T20:30:06Z","title":"A vulnerability was found in buildah","vendor":null,"product":null,"tier":"tail","description":{"text":"A vulnerability was found in buildah. Incorrect following of symlinks while reading .containerignore and .dockerignore results in information disclosure.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00914,"percentile":0.60989,"provenance":"source"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2144983","tags":[]},{"url":"https://github.com/containers/podman/pull/16315","tags":[]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":12.2},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"podman","versions":["Podman 4.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T20:29:19.385033Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/containers/podman/v4","vulnerableRanges":["<4.5.0"],"patched":["4.5.0"],"from":["GHSA-4crw-w8pw-2hmf","GO-2022-1151"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-1151"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v2","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-1151"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/containers/podman/v3","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2022-1151"],"provenance":"source"}],"summary":{"text":"Buildah contains a flaw in how it reads .containerignore and .dockerignore files, where symbolic links are followed incorrectly during file access. An attacker who can supply a build context containing a crafted symlink can cause the build to read and expose files outside the intended scope, resulting in information disclosure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:33Z"},"euvd":{"id":"EUVD-2022-7501","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-com-containers-podman-v4-cve-2022-4122","children":[{"from":"CVE-2022-4122","to":"CVE-2022-4123","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pkg/bindings/images/build.go"],"commits":["https://github.com/containers/podman/commit/c8eeab21cf0a4f670be0cd399dd06fd5d4e06dfe","https://github.com/containers/podman/commit/7934b77dd5372c22063686a218b8b48c2fcaca8c"],"basis":"shared function","functions":["Build","nTar"]}]}],"packageHistory":[{"cve":"CVE-2022-27649","published":"2022-04-04","fixed":"4.0.3","kev":false},{"cve":"CVE-2022-2989","published":"2022-09-13","fixed":"4.2.0","kev":false},{"cve":"CVE-2023-0778","published":"2023-03-27","fixed":"4.4.2","kev":false},{"cve":"CVE-2022-4122","published":"2022-12-08","fixed":"4.5.0","kev":false},{"cve":"CVE-2024-1753","published":"2024-03-18","fixed":"4.9.4","kev":false,"link":{"from":"CVE-2022-4122","to":"CVE-2024-1753","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/containers/podman/v4","fromFixed":"4.5.0","toFixed":"4.9.4","daysApart":466}]}},{"cve":"CVE-2024-9407","published":"2024-10-01","fixed":"5.2.4","kev":false},{"cve":"CVE-2026-94603","published":"2026-10-13","fixed":"5.8.8","kev":false}],"package":"Go:github.com/containers/podman/v4"}}