Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import fix for CVE-2018-1113 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions SOURCES/setup-2.8.71-CVE-2018-1113.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
diff -urNp setup-2.8.71-orig/shells setup-2.8.71/shells
--- setup-2.8.71-orig/shells 2013-06-07 16:31:32.000000000 +0200
+++ setup-2.8.71/shells 2018-06-21 13:09:40.352389479 +0200
@@ -1,6 +1,4 @@
/bin/sh
/bin/bash
-/sbin/nologin
/usr/bin/sh
/usr/bin/bash
-/usr/sbin/nologin
6 changes: 5 additions & 1 deletion SPECS/setup.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Summary: A set of system configuration and setup files
Name: setup
Version: 2.8.71
Release: 9.1%{?dist}
Release: 9.2%{?dist}
License: Public Domain
Group: System Environment/Base
URL: https://pagure.io/setup/
Expand All @@ -19,6 +19,7 @@ Source0: setup-%{xs_version}.tar.gz

# XCP-ng patches
Patch1000: setup-2.8.74.xs-delete-telemetry-user-and-group.XCP-ng.patch
Patch1001: setup-2.8.71-CVE-2018-1113.patch

BuildArch: noarch
BuildRequires: bash perl
Expand Down Expand Up @@ -203,6 +204,9 @@ end
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/fstab

%changelog
* Wed Nov 20 2024 Lucas Ravagnier <[email protected]> - 2.8.71-9.2
- Import from 2.8.71-10 fix for CVE-2018-1113

* Tue Jun 04 2024 Samuel Verschelde <[email protected]> - 2.8.71-9.1
- Rebase on XenServer's 2.8.74-1, but keep versioning consistent with CentOS 7
- Restore upstream CentOS changelog, that had been deleted by XenServer
Expand Down