diff --git a/debian/patches/0002-5-CVE-2023-32360.patch b/debian/patches/0002-5-CVE-2023-32360.patch new file mode 100644 index 0000000..d182865 --- /dev/null +++ b/debian/patches/0002-5-CVE-2023-32360.patch @@ -0,0 +1,31 @@ +From: =?utf-8?b?6LW1546J5b2q?= + <6575250+zhao-yubiao-code@user.noreply.gitee.com> +Date: Fri, 5 Jan 2024 06:39:20 +0000 +Subject: =?utf-8?b?ITUgQ1ZFLTIwMjMtMzIzNjAg5a6J5YWo5pu05paw77ya5pyq57uP6Lqr?= + =?utf-8?b?5Lu96aqM6K+B55qE55So5oi35Y+v6IO96IO95aSf6K6/6Zeu5pyA6L+R5omT5Y2w?= + =?utf-8?b?55qE5paH5qGjIE1lcmdlIHB1bGwgcmVxdWVzdCAhNSBmcm9tIE1lb3cgTm92YS9v?= + =?utf-8?b?cGVua3lsaW4veWFuZ3R6ZQ==?= + +--- + conf/cupsd.conf.in | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +diff --git a/conf/cupsd.conf.in b/conf/cupsd.conf.in +index b258849..a07536f 100644 +--- a/conf/cupsd.conf.in ++++ b/conf/cupsd.conf.in +@@ -68,7 +68,13 @@ IdleExitTimeout @EXIT_TIMEOUT@ + Order deny,allow + + +- ++ ++ Require user @OWNER @SYSTEM ++ Order deny,allow ++ ++ ++ ++ AuthType Default + Require user @OWNER @SYSTEM + Order deny,allow + diff --git a/debian/patches/series b/debian/patches/series index 9d2e47f..ab210ef 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-Apply-patchs.patch +0002-5-CVE-2023-32360.patch