Lucene search

K
githubGitHub Advisory DatabaseGHSA-QQV8-PH7F-H3F7
HistorySep 17, 2024 - 12:31 a.m.

OpenShift Builder has a path traversal, allows command injection in privileged BuildContainer

2024-09-1700:31:06
CWE-250
GitHub Advisory Database
github.com
2
openshift
builder
path traversal
command injection
privileged buildcontainer
docker
buildconfig
vulnerability
security flaw

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

AI Score

8

Confidence

High

EPSS

0

Percentile

16.4%

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.

Affected configurations

Vulners
Node
redhatopenshift_builderRange4.0.0
VendorProductVersionCPE
redhatopenshift_builder*cpe:2.3:a:redhat:openshift_builder:*:*:*:*:*:*:*:*

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

AI Score

8

Confidence

High

EPSS

0

Percentile

16.4%

Related for GHSA-QQV8-PH7F-H3F7