GO-2022-0345

Source
https://pkg.go.dev/vuln/GO-2022-0345
Import Source
https://vuln.go.dev/ID/GO-2022-0345.json
JSON Data
https://api.test.osv.dev/v1/vulns/GO-2022-0345
Aliases
Downstream
CGA (2)
Published
2022-07-15T23:30:21Z
Modified
2026-07-17T21:09:15Z
Summary
Environment variable leakage in github.com/containers/buildah
Details

The RunUsingChroot function unintentionally propagates environment variables from the current process to the child process.

Database specific
{
    "review_status":  "REVIEWED",
    "url":  "https://pkg.go.dev/vuln/GO-2022-0345"
}
References

Affected packages

Go / github.com/containers/buildah

Package

Name
github.com/containers/buildah
View open source insights on deps.dev
Purl
pkg:golang/github.com/containers/buildah

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.22.0

Ecosystem specific

{
    "imports":  [
        {
            "path":  "github.com/containers/buildah/chroot",
            "symbols":  [
                "RunUsingChroot"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2022-0345.json"