UBUNTU-CVE-2024-9407

Source
https://ubuntu.com/security/CVE-2024-9407
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9407.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-9407
Related
Published
2024-10-01T21:15:00Z
Modified
2025-02-13T04:30:53Z
Summary
[none]
Details

A vulnerability exists in the bind-propagation option of the Dockerfile RUN --mount instruction. The system does not properly validate the input passed to this option, allowing users to pass arbitrary parameters to the mount instruction. This issue can be exploited to mount sensitive directories from the host into a container during the build process and, in some cases, modify the contents of those mounted files. Even if SELinux is used, this vulnerability can bypass its protection by allowing the source directory to be relabeled to give the container access to host files.

References

Affected packages

Ubuntu:22.04:LTS / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/ubuntu/golang-github-containers-buildah@1.23.1+ds1-2?arch=source&distro=jammy

Affected ranges

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

Affected versions

1.*

1.21.3+ds1-1ubuntu1
1.23.1+ds1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/ubuntu/golang-github-containers-buildah@1.35.3+ds1-3?arch=source&distro=oracular

Affected ranges

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

Affected versions

1.*

1.33.7+ds1-1
1.35.3+ds1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / golang-github-containers-buildah

Package

Name
golang-github-containers-buildah
Purl
pkg:deb/ubuntu/golang-github-containers-buildah@1.33.7+ds1-1ubuntu0.24.04.2?arch=source&distro=noble

Affected ranges

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

Affected versions

1.*

1.28.2+ds1-3build1
1.32.2+ds1-1
1.33.1+ds1-2
1.33.3+ds1-2
1.33.5+ds1-4
1.33.5+ds1-4build1
1.33.5+ds1-4build2
1.33.7+ds1-1
1.33.7+ds1-1ubuntu0.24.04.1
1.33.7+ds1-1ubuntu0.24.04.2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}