Skip to content

Commit

Permalink
Added check
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandofloresg committed Apr 2, 2024
1 parent ed26cf8 commit 3186547
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/CVE-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Simple XZ util check

on:
pull_request:
branches:
- dev
- staging*

jobs:
bandit:
runs-on: ubuntu-latest

steps:
- name: Fail if version of xz tool is affected by CVE-2024-3094
if: ${{ ! startsWith(matrix.os, 'windows') }}
run: |
xz --version;
bash -c "! (xz --version | grep -E '5\.6\.(0|1)')"

0 comments on commit 3186547

Please sign in to comment.