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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-36014Adobe Media Encoder version 15.2 (and earlier) is affected b…3.3
- CVE-2021-36015Adobe Media Encoder version 15.2 (and earlier) is affected b…7.8
- CVE-2021-36016Adobe Media Encoder version 15.2 (and earlier) is affected b…3.3
- CVE-2021-36017Adobe After Effects version 18.2.1 (and earlier) is affected…7.8
- CVE-2021-36018Adobe After Effects version 18.2.1 (and earlier) is affected…3.3
- CVE-2021-36019Adobe After Effects version 18.2.1 (and earlier) is affected…3.3
- CVE-2021-36020Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and…9.8
- CVE-2021-36021Magento versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier)…7.2
- CVE-2021-36022Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and…7.2
- CVE-2021-36023Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and…7.2
- CVE-2021-36024Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and…7.2
- CVE-2021-36025Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and…7.2
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
