peridot/apollo/workflow/testdata/CVE-2021-3602.json

113 lines
4.5 KiB
JSON

{
"threat_severity": "Moderate",
"public_date": "2021-07-15T14:00:00Z",
"bugzilla": {
"description": "CVE-2021-3602 buildah: Host environment variables leaked in build container when using chroot isolation",
"id": "1969264",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1969264"
},
"cvss3": {
"cvss3_base_score": "5.6",
"cvss3_scoring_vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N",
"status": "verified"
},
"cwe": "CWE-200",
"details": [
"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).",
"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)."
],
"statement": "OpenShift Container Platform 4's builder container is not vulnerable to this flaw as it uses OCI isolation (i.e. using runc) and does not use chroot isolation.",
"acknowledgement": "Red Hat would like to thank Blake Burkhart for reporting this issue.",
"affected_release": [
{
"product_name": "Red Hat Enterprise Linux 8",
"release_date": "2021-11-09T00:00:00Z",
"advisory": "RHSA-2021:4154",
"cpe": "cpe:/a:redhat:enterprise_linux:8",
"package": "container-tools:rhel8-8050020210921082437.faa19cc5"
},
{
"product_name": "Red Hat Enterprise Linux 8",
"release_date": "2021-11-09T00:00:00Z",
"advisory": "RHSA-2021:4221",
"cpe": "cpe:/a:redhat:enterprise_linux:8",
"package": "container-tools:2.0-8050020210817115648.faa19cc5"
},
{
"product_name": "Red Hat Enterprise Linux 8",
"release_date": "2021-11-09T00:00:00Z",
"advisory": "RHSA-2021:4222",
"cpe": "cpe:/a:redhat:enterprise_linux:8",
"package": "container-tools:3.0-8050020210915114620.faa19cc5"
}
],
"package_state": [
{
"product_name": "Red Hat Enterprise Linux 7",
"fix_state": "Out of support scope",
"package_name": "buildah",
"cpe": "cpe:/o:redhat:enterprise_linux:7"
},
{
"product_name": "Red Hat Enterprise Linux 7",
"fix_state": "Out of support scope",
"package_name": "podman",
"cpe": "cpe:/o:redhat:enterprise_linux:7"
},
{
"product_name": "Red Hat Enterprise Linux 9",
"fix_state": "Not affected",
"package_name": "buildah",
"cpe": "cpe:/o:redhat:enterprise_linux:9"
},
{
"product_name": "Red Hat Enterprise Linux 9",
"fix_state": "Not affected",
"package_name": "podman",
"cpe": "cpe:/o:redhat:enterprise_linux:9"
},
{
"product_name": "Red Hat OpenShift Container Platform 3.11",
"fix_state": "Will not fix",
"package_name": "podman",
"cpe": "cpe:/a:redhat:openshift:3.11"
},
{
"product_name": "Red Hat OpenShift Container Platform 4",
"fix_state": "Will not fix",
"package_name": "buildah",
"cpe": "cpe:/a:redhat:openshift:4"
},
{
"product_name": "Red Hat OpenShift Container Platform 4",
"fix_state": "Not affected",
"package_name": "cri-o",
"cpe": "cpe:/a:redhat:openshift:4"
},
{
"product_name": "Red Hat OpenShift Container Platform 4",
"fix_state": "Not affected",
"package_name": "openshift4/ose-docker-builder",
"cpe": "cpe:/a:redhat:openshift:4"
},
{
"product_name": "Red Hat OpenShift Container Platform 4",
"fix_state": "Will not fix",
"package_name": "podman",
"cpe": "cpe:/a:redhat:openshift:4"
},
{
"product_name": "Red Hat Quay 3",
"fix_state": "Affected",
"package_name": "quay/quay-builder-rhel8",
"cpe": "cpe:/a:redhat:quay:3"
}
],
"upstream_fix": "buildah 1.16.8, buildah 1.19.9, buildah 1.17.2, buildah 1.21.3",
"references": [
"https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj"
],
"name": "CVE-2021-3602",
"csaw": false
}