CVE-2021-3602

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-3602
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3602.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-3602
Aliases
Related
Published
2022-03-03T19:15:08Z
Modified
2024-10-12T07:48:33.494769Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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).

References

Affected packages

Debian:11 / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/debian/golang-github-containers-buildah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.19.6+dfsg1-1
1.20.0+ds1-1
1.20.1+ds1-1
1.20.1+ds1-2
1.21.0+ds1-2
1.21.3+ds1-1
1.22.3+ds1-1
1.22.3+ds1-2
1.23.1+ds1-1
1.23.1+ds1-2
1.23.1+ds1-3
1.24.1+ds1-1
1.26.1+ds1-1
1.27.0+ds1-2
1.27.0+ds1-3
1.27.0+ds1-4
1.27.0+ds1-5
1.27.0+ds1-6
1.28.0+ds1-1
1.28.0+ds1-2
1.28.0+ds1-3
1.28.2+ds1-1
1.28.2+ds1-2
1.28.2+ds1-3
1.29.0+ds1-1
1.30.0+ds1-1
1.30.0+ds1-2
1.30.0+ds1-3
1.31.2+ds1-1
1.31.2+ds1-2
1.31.2+ds1-3
1.32.0+ds1-1
1.32.0+ds1-2
1.32.2+ds1-1
1.33.1+ds1-1
1.33.1+ds1-2
1.33.3+ds1-1
1.33.3+ds1-2
1.33.5+ds1-3
1.33.5+ds1-4
1.33.7+ds1-1
1.34.0+ds1-1
1.34.0+ds1-2
1.35.3+ds1-1
1.35.3+ds1-2
1.35.3+ds1-3
1.37.0+ds1-1
1.37.1+ds1-1
1.37.1+ds1-2
1.37.2+ds1-1
1.37.2+ds1-2
1.37.2+ds1-3
1.37.3+ds1-1
1.37.3+ds1-2
1.37.3+ds1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/debian/golang-github-containers-buildah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.3+ds1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/debian/golang-github-containers-buildah?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.22.3+ds1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/containers/buildah

Affected ranges

Type
GIT
Repo
https://github.com/containers/buildah
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.4

v0.*

v0.1
v0.10
v0.12
v0.15
v0.2
v0.3
v0.4
v0.5
v0.6
v0.7
v0.8

v1.*

v1.1
v1.10.0
v1.10.1
v1.11.0
v1.11.1
v1.11.2
v1.11.3
v1.11.4
v1.11.5
v1.11.6
v1.12.0
v1.13.2
v1.14.0
v1.14.1
v1.14.2
v1.14.3
v1.14.4
v1.14.5
v1.14.6
v1.14.7
v1.14.8
v1.15.0
v1.16.0
v1.17.0
v1.18.0
v1.19.0
v1.19.1
v1.20.0
v1.20.1
v1.21.0
v1.3
v1.4
v1.5
v1.6
v1.7
v1.7.1
v1.7.2
v1.7.3
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.8.4
v1.9.0
v1.9.1
v1.9.2