CVE-2022-4122: Medium severity centos podman vulnerability

Published Nov 22, 2022
·
Updated

#1podman build ..." follows symlinks when reading .containerignore and .dockerignore We've received this potential security issue with Podman, and although not said, it's really in Buildah. I've asked one of our engineers (Aditya) to fix it upstream, but I think it might be wise to backport to Podman 4.1.1 as noted in the issue.

Please adivise next steps and setup any CVE's or BZ's as appropriate. more information in SNow -> https://redhat.service-now.com/surl.do?n=INC2395282

Other sources

A vulnerability was found in buildah. Incorrect following of symlinks while reading .containerignore and .dockerignore results in information disclosure.

GitHub

Affected Software

5 affected componentsFixes available
go/github.com/containers/podman/v4<4.5.0
4.5.0
Podman Project Podman=4.3.0
fedoraproject fedora=35
fedoraproject fedora=36
fedoraproject fedora=37

Event History

Nov 22, 2022
Data Sourced
via Red Hat·08:16 PM
DescriptionSeverityAffected Software
Dec 8, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:30 PM

Frequently Asked Questions

1

What is CVE-2022-4122?

CVE-2022-4122 is a vulnerability found in buildah that results in information disclosure due to incorrect following of symlinks while reading .containerignore and .dockerignore.

2

What is the severity of CVE-2022-4122?

The severity of CVE-2022-4122 is medium with a CVSS score of 5.3.

3

Which software versions are affected by CVE-2022-4122?

Podman 4.3.0, Fedora 35, Fedora 36, and Fedora 37 are affected by CVE-2022-4122.

4

How can I fix CVE-2022-4122?

To fix CVE-2022-4122, update to the latest version of Podman or apply the necessary security patches provided by Fedora.

5

Where can I find more information about CVE-2022-4122?

You can find more information about CVE-2022-4122 in the references provided: [link1](https://redhat.service-now.com/surl.do?n=INC2395282), [link2](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2145047), [link3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=2145048).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203