-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SECURITY-1534] Prevent remote execution by repo URL
SECURITY-1534 reports that user input in the repository URL field is not validated sufficiently. A carefully crafted value in the URL field can allow a user with Job administration permissions to execute an arbitrary program on the Jenkins master. Sanity check the values passed as repository URL to the ls-remote and fetch commands so that user entered data cannot execute arbitrary programs on the Jenkins master. Use -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkRemoteURL=false to disable URL checking.
- Loading branch information
1 parent
04d2c15
commit 899123f
Showing
1 changed file
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters