-
Notifications
You must be signed in to change notification settings - Fork 11
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
Repackage php dependency so as to not contain symlink references to external locations #253
Comments
As mentioned in the comment referenced above (paketo-buildpacks/packit#161 (comment)), we can modify the code for packaging buildpack dependencies so that the built artifacts do not contain symlinks to external file locations. |
arjun024
added a commit
that referenced
this issue
Sep 27, 2021
Fixes: #253 Fixes: #255 Also see cloudfoundry/binary-builder#56
5 tasks
arjun024
added a commit
that referenced
this issue
Sep 27, 2021
Fixes: #253 Fixes: #255 Also see cloudfoundry/binary-builder#56
thitch97
pushed a commit
that referenced
this issue
Sep 28, 2021
Closed
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Recently packit decided to validate against zip slipping (paketo-buildpacks/packit#158). So any dependency that can potentially access parts of the file system outside of the target directory is a risk and its installation would result in an error. Thus, updates to packit (#230) and occam (#220) have been failing.
Proposal
Repackage the PHP Dist tarball so that it does not have symlink references to external file locations.
See this thread (paketo-buildpacks/packit#161 (comment)) for further info.
PRs updating packit (#230) and occam (#220) should pass once this is resolved.
The text was updated successfully, but these errors were encountered: