fix: validate file path in Blueprints::import() to prevent SSRF/LFI (CWE-918) #4252
Workflow file for this run
This file contains hidden or 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
| name: Makefile CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "master", "*.*-dev" ] | |
| pull_request: | |
| branches: [ "master", "*.*-dev" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: '8.3' | |
| extensions: redis, gd, ldap, mbstring, pdo_mysql, zip, bcmath, exif, pcntl | |
| - name: Install dependencies | |
| run: make build | |
| - name: Run distcheck | |
| run: make clean |