-
Notifications
You must be signed in to change notification settings - Fork 205
Add breaking changes note about Helm values file restriction #3744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| # allowed | ||
| - values.yaml | ||
| - ./foo/bar/values.yaml | ||
| - /path/to/dir-where-application-configuration-exists/values.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - /path/to/dir-where-application-configuration-exists/values.yaml | |
| - /path/to/application-configuration-dir/values.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrite it with disallowed examples 👍
| - /path/to/dir-where-application-configuration-exists/values.yaml | ||
|
|
||
| # disallowed | ||
| - ../../../../path/to/dir-where-application-configuration-file-NOT-exists/values.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - ../../../../path/to/dir-where-application-configuration-file-NOT-exists/values.yaml | |
| - ../../../../path/to/OTHER-application-dir-or-such/values.yaml |
|
|
||
| # disallowed | ||
| - ../../../../path/to/dir-where-application-configuration-file-NOT-exists/values.yaml | ||
| - /path/to/dir-where-application-configuration-NOT-exists/values.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - /path/to/dir-where-application-configuration-NOT-exists/values.yaml | |
| - /path/to/OTHER-application-dir-or-such/values.yaml |
|
|
||
| According to a recently discovered [vulnerability](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24348), it reveals that the existence of a directory traversal vulnerability when an arbitrary path can be specified as the Helm values file path. | ||
|
|
||
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration (i.e. `.pipecd.yaml`) exists when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration (i.e. `.pipecd.yaml`) exists when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). | |
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration exists (aka. the application directory) when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). |
|
|
||
| According to a recently discovered [vulnerability](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24348), it reveals that the existence of a directory traversal vulnerability when an arbitrary path can be specified as the Helm values file path. | ||
|
|
||
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration (i.e. `.pipecd.yaml`) exists when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration (i.e. `.pipecd.yaml`) exists when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). | |
| For this reason, PipeCD has restricted the path that can be specified as the values file path to the directory where the application configuration (i.e. `app.pipecd.yaml`) exists when a local path is specified by [#3726](https://github.com/pipe-cd/pipecd/pull/3726). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, this is better.
so let's merge this one.
khanhtc1202
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Thank you
|
Which should I adopt? |
knanao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you go!
What this PR does / why we need it:
Add breaking changes note about Helm values file restriction (#3726).
This is because there was an inquiry regarding the path that can be specified as a values file, and we felt it necessary to describe the specifications in more detail.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?: