CVE-2024-9407

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-9407
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-9407.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-9407
Aliases
Related
Published
2024-10-01T21:15:08Z
Modified
2024-11-12T18:45:23.081093Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
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

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
1.37.4+ds1-1
1.37.5+ds1-1

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

Affected versions

1.*

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
1.37.4+ds1-1
1.37.5+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.37.4+ds1-1

Affected versions

1.*

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"
}