Lucene search

K
osvGoogleOSV:GHSA-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
Google
osv.dev
1
openshift
builder
path traversal
command injection
privileged container
vulnerability
docker strategy
buildconfig
executable files
secrets
destinationdir
malicious user
arbitrary commands
escalates permissions
software

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.

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 OSV:GHSA-QQV8-PH7F-H3F7