CVE-2021-3602
Last modified
CVE-2021-3602 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
Description
An information disclosure flaw was found in Buildah, when building containers using chroot isolation. Running processes in container builds (e.g. Dockerfile RUN commands) can access environment variables from parent and grandparent processes. When run in a container in a CI/CD environment, environment variables may include sensitive information that was shared with the container in order to be used only by Buildah itself (e.g. container registry credentials).
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Buildah Project | Buildah | < 1.16.8 |
| Buildah Project | Buildah | >= 1.17.0, < 1.17.2 |
| Buildah Project | Buildah | >= 1.19.0, < 1.19.9 |
| Buildah Project | Buildah | >= 1.21.0, < 1.21.3 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux For Ibm Z Systems | 8.0 |
| Redhat | Enterprise Linux For Power Little Endian | 8.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1969264Issue Tracking, Patch, Third Party Advisory
- https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0Patch, Third Party Advisory
- https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjjThird Party Advisory
- https://ubuntu.com/security/CVE-2021-3602Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1969264Issue Tracking, Patch, Third Party Advisory
- https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0Patch, Third Party Advisory
- https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjjThird Party Advisory
- https://ubuntu.com/security/CVE-2021-3602Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3602?
How severe is CVE-2021-3602?
How do I fix CVE-2021-3602?
Are you affected by CVE-2021-3602?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
