GHSA-QQV8-PH7F-H3F7
Vulnerability from github – Published: 2024-09-17 00:31 – Updated: 2025-01-09 15:38
VLAI?
Summary
OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer
Details
A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the "Docker" strategy, executable files inside the privileged build container can be overridden using the spec.source.secrets.secret.destinationDir attribute of the BuildConfig definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.
Severity ?
9.1 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/openshift/builder"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "4.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-7387"
],
"database_specific": {
"cwe_ids": [
"CWE-250"
],
"github_reviewed": true,
"github_reviewed_at": "2024-09-17T18:31:41Z",
"nvd_published_at": "2024-09-17T00:15:52Z",
"severity": "MODERATE"
},
"details": "A flaw was found in openshift/builder. This vulnerability allows command injection via path traversal, where a malicious user can execute arbitrary commands on the OpenShift node running the builder container. When using the \"Docker\" strategy, executable files inside the privileged build container can be overridden using the `spec.source.secrets.secret.destinationDir` attribute of the `BuildConfig` definition. An attacker running code in a privileged container could escalate their permissions on the node running the container.",
"id": "GHSA-qqv8-ph7f-h3f7",
"modified": "2025-01-09T15:38:27Z",
"published": "2024-09-17T00:31:06Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-7387"
},
{
"type": "WEB",
"url": "https://github.com/openshift/builder/commit/0b62633adfa2836465202bc851885e078ec888d1"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:3718"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:6685"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:6687"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:6689"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:6691"
},
{
"type": "WEB",
"url": "https://access.redhat.com/errata/RHSA-2024:6705"
},
{
"type": "WEB",
"url": "https://access.redhat.com/security/cve/CVE-2024-7387"
},
{
"type": "WEB",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=2302259"
},
{
"type": "PACKAGE",
"url": "https://github.com/openshift/builder"
},
{
"type": "WEB",
"url": "https://pkg.go.dev/vuln/GO-2024-3129"
},
{
"type": "WEB",
"url": "https://stuxxn.github.io/advisory/2024/10/02/openshift-build-docker-priv-esc.html"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H",
"type": "CVSS_V4"
}
],
"summary": "OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…