CVE-2021-3602
CVSS V2 Low 1.9
CVSS V3 Medium 5.5
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).
Overview
- CVE ID
- CVE-2021-3602
- Assigner
- secalert@redhat.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-03T19:15:08
- Last Modified Date
- 2022-10-24T14:22:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* | 1 | OR | 1.16.8 | |
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* | 1 | OR | 1.17.0 | 1.17.2 |
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* | 1 | OR | 1.19.0 | 1.19.9 |
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* | 1 | OR | 1.21.0 | 1.21.3 |
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:L/AC:M/Au:N/C:P/I:N/A:N
- Access Vector
- LOCAL
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 1.9
- Severity
- LOW
- Exploitability Score
- 3.4
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 5.5
- Base Severity
- MEDIUM
- Exploitability Score
- 1.8
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1969264 | Issue Tracking Patch Third Party Advisory |
https://ubuntu.com/security/CVE-2021-3602 | Patch Third Party Advisory |
https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj | Third Party Advisory |
https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-3602 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3602 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 15:46:29 | Added to TrackCVE | |||
2022-12-06 11:15:48 | 2022-03-03T19:15Z | 2022-03-03T19:15:08 | CVE Published Date | updated |
2022-12-06 11:15:48 | 2022-10-24T14:22:45 | CVE Modified Date | updated | |
2022-12-06 11:15:48 | Analyzed | Vulnerability Status | updated |