Skip to content

[AUTO-CHERRYPICK] Fix CVE-2024-10524 for wget :2.0 - branch main (#11… #22281

[AUTO-CHERRYPICK] Fix CVE-2024-10524 for wget :2.0 - branch main (#11…

[AUTO-CHERRYPICK] Fix CVE-2024-10524 for wget :2.0 - branch main (#11… #22281

#!/bin/bash
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
name: Static glibc version check
on:
push:
branches: [main, dev, 1.0*, 2.0*, fasttrack/*]
pull_request:
branches: [main, dev, 1.0*, 2.0*, fasttrack/*]
permissions: read-all
jobs:
spec-check:
name: Static glibc version check
runs-on: ubuntu-latest
steps:
# Checkout the branch of our repo that triggered this action
- name: Workflow trigger checkout
uses: actions/checkout@v4
# For consistency, we use the same major/minor version of Python that CBL-Mariner ships
- name: Setup Python 3.9
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Get Python dependencies
run: python3 -m pip install -r toolkit/scripts/requirements.txt
- name: Verify .spec files
run: python3 toolkit/scripts/check_static_glibc.py SPECS/**/*.spec SPECS-EXTENDED/**/*.spec SPECS-SIGNED/**/*.spec