Lookup for vulnerable packages by Package URL.

Purlpkg:apk/alpine/buildah@1.21.3-r0?arch=x86&distroversion=v3.22&reponame=community
Typeapk
Namespacealpine
Namebuildah
Version1.21.3-r0
Qualifiers
arch x86
distroversion v3.22
reponame community
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version1.28.0-r0
Latest_non_vulnerable_version1.41.6-r0
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-thgc-p1tc-nbdw
vulnerability_id VCID-thgc-p1tc-nbdw
summary
Buildah processes using chroot isolation may leak environment values to intermediate processes
### Impact
When running processes using "chroot" isolation, the process being run can examine the environment variables of its immediate parent and grandparent processes (CVE-2021-3602).  This isolation type is often used when running `buildah` in unprivileged containers, and it is often used to do so in CI/CD environments.  If sensitive information is exposed to the original `buildah` process through its environment, that information will unintentionally be shared with child processes which it starts as part of handling RUN instructions or during `buildah run`.  The commands that `buildah` is instructed to run can read that information if they choose to.

### Patches
Users should upgrade packages, or images which contain packages, to include version 1.21.3 or later.

### Workarounds
As a workaround, invoking `buildah` in a container under `env -i` to have it started with a reinitialized environment should prevent the leakage.

### For more information
If you have any questions or comments about this advisory:
* Open an issue in [buildah](https://github.com/containers/buildah/issues)
* Email us at [the buildah general mailing list](mailto:buildah@lists.buildah.io), or [the podman security mailing list](mailto:security@lists.podman.io) if it's sensitive.
references
0
reference_url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3602.json
reference_id
reference_type
scores
0
value 5.6
scoring_system cvssv3
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
url https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3602.json
1
reference_url https://api.first.org/data/v1/epss?cve=CVE-2021-3602
reference_id
reference_type
scores
0
value 0.00122
scoring_system epss
scoring_elements 0.31318
published_at 2026-04-21T12:55:00Z
1
value 0.00122
scoring_system epss
scoring_elements 0.31347
published_at 2026-04-18T12:55:00Z
2
value 0.00122
scoring_system epss
scoring_elements 0.31368
published_at 2026-04-16T12:55:00Z
3
value 0.00122
scoring_system epss
scoring_elements 0.31335
published_at 2026-04-13T12:55:00Z
4
value 0.00122
scoring_system epss
scoring_elements 0.31374
published_at 2026-04-12T12:55:00Z
5
value 0.00122
scoring_system epss
scoring_elements 0.31417
published_at 2026-04-11T12:55:00Z
6
value 0.00122
scoring_system epss
scoring_elements 0.3133
published_at 2026-04-07T12:55:00Z
7
value 0.00122
scoring_system epss
scoring_elements 0.31511
published_at 2026-04-04T12:55:00Z
8
value 0.00122
scoring_system epss
scoring_elements 0.3147
published_at 2026-04-02T12:55:00Z
9
value 0.00122
scoring_system epss
scoring_elements 0.31413
published_at 2026-04-09T12:55:00Z
10
value 0.00122
scoring_system epss
scoring_elements 0.31383
published_at 2026-04-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2021-3602
2
reference_url https://bugzilla.redhat.com/show_bug.cgi?id=1969264
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://bugzilla.redhat.com/show_bug.cgi?id=1969264
3
reference_url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3602
reference_id
reference_type
scores
url https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3602
4
reference_url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
reference_id
reference_type
scores
0
value 5.6
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
url https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
5
reference_url https://github.com/containers/buildah
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/containers/buildah
6
reference_url https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/containers/buildah/commit/a468ce0ffd347035d53ee0e26c205ef604097fb0
7
reference_url https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://github.com/containers/buildah/security/advisories/GHSA-7638-r9r3-rmjj
8
reference_url https://nvd.nist.gov/vuln/detail/CVE-2021-3602
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2021-3602
9
reference_url https://pkg.go.dev/vuln/GO-2022-0345
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://pkg.go.dev/vuln/GO-2022-0345
10
reference_url https://ubuntu.com/security/CVE-2021-3602
reference_id
reference_type
scores
0
value 5.5
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
1
value MODERATE
scoring_system generic_textual
scoring_elements
url https://ubuntu.com/security/CVE-2021-3602
11
reference_url https://access.redhat.com/errata/RHSA-2021:4154
reference_id RHSA-2021:4154
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:4154
12
reference_url https://access.redhat.com/errata/RHSA-2021:4221
reference_id RHSA-2021:4221
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:4221
13
reference_url https://access.redhat.com/errata/RHSA-2021:4222
reference_id RHSA-2021:4222
reference_type
scores
url https://access.redhat.com/errata/RHSA-2021:4222
fixed_packages
0
url pkg:apk/alpine/buildah@1.21.3-r0?arch=x86&distroversion=v3.22&reponame=community
purl pkg:apk/alpine/buildah@1.21.3-r0?arch=x86&distroversion=v3.22&reponame=community
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:apk/alpine/buildah@1.21.3-r0%3Farch=x86&distroversion=v3.22&reponame=community
aliases CVE-2021-3602, GHSA-7638-r9r3-rmjj
risk_score 3.1
exploitability 0.5
weighted_severity 6.2
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-thgc-p1tc-nbdw
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:apk/alpine/buildah@1.21.3-r0%3Farch=x86&distroversion=v3.22&reponame=community