Commit Graph

26 Commits

Author SHA1 Message Date
Lumir Balhar
f59b8f1717 Security fix for CVE-2025-8194
Resolves: RHEL-106333
2025-08-11 13:41:36 +02:00
Lumir Balhar
6e9b200e35 Security fixes for CVE-2025-4517, CVE-2025-4330, CVE-2025-4138, CVE-2024-12718, CVE-2025-4435
Resolves: RHEL-98030, RHEL-97987, RHEL-98232, RHEL-98065, RHEL-98189
2025-06-27 14:13:11 +02:00
Miro Hrončok
39fce6de3f Workaround git apply not working with local centpkg prep
https://git-scm.com/docs/git-apply says:

> When running from a subdirectory in a repository,
> patched paths outside the directory are ignored.

When we run `centpkg prep` in a dist-git repository,
patch 351 was silently skipped. When running with --verbose:

    Skipped patch 'Lib/tarfile.py'.
    Skipped patch 'Lib/test/recursion.tar'.
    Skipped patch 'Lib/test/test_tarfile.py'.
    Skipped patch 'Misc/NEWS.d/next/Library/2020-07-12-22-16-58.bpo-39017.x3Cg-9.rst'.

This caused later patches touching the same files (e.g. 437) to not apply cleanly:

    + echo 'Patch #437 (00437-cve-2024-6232.patch):'
    Patch #437 (00437-cve-2024-6232.patch):
    + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
    patching file Lib/tarfile.py
    Hunk #1 succeeded at 860 (offset 14 lines).
    Hunk #2 FAILED at 1374.
    Hunk #3 succeeded at 1428 (offset 12 lines).
    Hunk #4 succeeded at 1452 (offset 12 lines).
    Hunk #5 succeeded at 1474 (offset 12 lines).
    1 out of 5 hunks FAILED -- saving rejects to file Lib/tarfile.py.rej
    patching file Lib/test/test_tarfile.py
    Hunk #1 succeeded at 1043 (offset -3 lines).
    patching file Misc/NEWS.d/next/Security/2024-07-02-13-39-20.gh-issue-121285.hrl-yI.rst

In Koji/Brew/mock patch 437 applied cleanly because builddir is not a subdirectory
of the cloned dist-git git tree and patch 351 was not skipped.

By setting $GIT_DIR we force git to ignore any git work trees in parent directories.
We set it to $PWD to make it work properly if we ever make %(auto)setup use git.

Thanks to: Florian Weimer, Lumír Balhar.
2024-11-18 12:02:42 +01:00
Lumir Balhar
be2100ec31 Security fix for CVE-2024-11168
Resolves: RHEL-67252
2024-11-15 09:06:30 +01:00
Lumir Balhar
0f7be2100c Security fix for CVE-2024-9287
Resolves: RHEL-64878
2024-11-05 12:51:47 +01:00
Lumir Balhar
c9599b7f1b Security fix for CVE-2024-6232
Resolves: RHEL-57399
2024-09-06 12:13:02 +02:00
Tomáš Hrnčiar
249247e05a Security fix for CVE-2024-6923
Resolves: RHEL-53065
2024-08-20 10:52:42 +02:00
Miro Hrončok
c26d703083 Build Python with -O3
https://fedoraproject.org/wiki/Changes/Python_built_with_gcc_O3

Resolves: RHEL-49644
2024-07-25 15:33:30 +02:00
Miro Hrončok
8f802af859 Add explicit RPM Provides for /usr/libexec/platform-python
Resolves: RHEL-48605
2024-07-18 13:55:35 +02:00
Lumir Balhar
8ddf38fba2 Security fix for CVE-2024-4032
Resolves: RHEL-44060
2024-07-04 10:51:09 +02:00
Lumir Balhar
f2d319607d Security fix for CVE-2024-0450
Resolves: RHEL-33683
2024-04-24 12:57:46 +02:00
Lumir Balhar
0f7905f10c Security fix for CVE-2023-6597
Resolves: RHEL-33671
2024-04-24 12:57:46 +02:00
Lumir Balhar
ec10e021fa Fix build with expat with fixed CVE-2023-52425 2024-04-24 12:57:46 +02:00
Lumir Balhar
674a3880c6 Security fix for CVE-2023-27043
Resolves: RHEL-20610
2024-01-05 10:33:27 +01:00
Lumir Balhar
c4a0e202ad Skip two tests on s390x
Resolves: RHEL-19252
2023-12-13 12:58:15 +01:00
Lumir Balhar
15d9075915 Security fix for CVE-2022-48564
Resolves: RHEL-16674
2023-12-12 13:06:27 +01:00
Lumir Balhar
6047be42b6 Security fix for CVE-2022-48560
Resolves: RHEL-16707
2023-11-28 15:14:15 +01:00
Charalampos Stratakis
b1da2b26d2 Security fix for CVE-2023-40217
Resolves: RHEL-3041
2023-09-25 22:00:45 +02:00
Petr Viktorin
8a8d876f5a Fix symlink handling in the fix for CVE-2007-4559
Resolves: rhbz#263261
2023-08-10 16:58:21 +02:00
Charalampos Stratakis
3b3b84cacf Bump release for rebuild
Resolves: rhbz#2173917
2023-07-10 20:25:20 +02:00
Charalampos Stratakis
f6629e5fa4 Add an rpminspect.yaml file
Fixed an issue with the tkinter dependency on libpython

Resolves: rhbz#2217703
2023-07-10 20:24:58 +02:00
Charalampos Stratakis
e852c6b85d Security fix for CVE-2023-24329
Resolves: rhbz#2173917
2023-06-30 12:15:41 +02:00
Petr Viktorin
f93296c9b5 CVE-2007-4559, PEP-706: Add filters for tarfile extraction 2023-06-13 10:57:41 +02:00
Honza Horak
76c5cd8724 Replace whole repo with latest content from branch rhel-8.8.0
Content corresponds with RHEL dist-git commit 2047ec3
2023-05-15 16:41:20 +02:00
Troy Dawson
800f013f3e Bring gating.yaml over from Brew dist-git
Signed-off-by: Troy Dawson <tdawson@redhat.com>
2023-03-10 11:16:04 -08:00
James Antill
4d62e04726 Import rpm: c8s 2023-02-27 15:12:25 -05:00