Skip to content

Internal change#4878

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_862533652
Open

Internal change#4878
copybara-service[bot] wants to merge 1 commit intomainfrom
test_862533652

Conversation

@copybara-service
Copy link

Internal change

PiperOrigin-RevId: 862533652

func (zu *zipUnarchiver) extractFile(zf *zip.File, o extractOptions) error {
filePath := filepath.Join(zu.dstRoot, zf.Name)
filePath, err := secureJoin(zu.dstRoot, zf.Name)

Check failure

Code scanning / CodeQL

Arbitrary file write extracting an archive containing symbolic links High

Unresolved path from an archive header, which may point outside the archive root, is used in
symlink creation
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant