fix CVE-2023-31484
This commit is contained in:
parent
b488d16522
commit
c9314d05eb
25
backport-CVE-2023-31484.patch
Normal file
25
backport-CVE-2023-31484.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 9c98370287f4e709924aee7c58ef21c85289a7f0 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Stig Palmquist <git@stig.io>
|
||||||
|
Date: Tue, 28 Feb 2023 11:54:06 +0100
|
||||||
|
Subject: [PATCH] Add verify_SSL=>1 to HTTP::Tiny to verify https server
|
||||||
|
identity
|
||||||
|
|
||||||
|
---
|
||||||
|
cpan/CPAN/lib/CPAN/HTTP/Client.pm | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/cpan/CPAN/lib/CPAN/HTTP/Client.pm b/cpan/CPAN/lib/CPAN/HTTP/Client.pm
|
||||||
|
index 4fc792c..a616fee 100644
|
||||||
|
--- a/cpan/CPAN/lib/CPAN/HTTP/Client.pm
|
||||||
|
+++ b/cpan/CPAN/lib/CPAN/HTTP/Client.pm
|
||||||
|
@@ -32,6 +32,7 @@ sub mirror {
|
||||||
|
|
||||||
|
my $want_proxy = $self->_want_proxy($uri);
|
||||||
|
my $http = HTTP::Tiny->new(
|
||||||
|
+ verify_SSL => 1,
|
||||||
|
$want_proxy ? (proxy => $self->{proxy}) : ()
|
||||||
|
);
|
||||||
|
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -18,7 +18,7 @@ Name: perl
|
|||||||
License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT and UCD and Public Domain and BSD
|
License: (GPL+ or Artistic) and (GPLv2+ or Artistic) and MIT and UCD and Public Domain and BSD
|
||||||
Epoch: 4
|
Epoch: 4
|
||||||
Version: 5.28.3
|
Version: 5.28.3
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: A highly capable, feature-rich programming language
|
Summary: A highly capable, feature-rich programming language
|
||||||
Url: https://www.perl.org/
|
Url: https://www.perl.org/
|
||||||
Source0: https://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
|
Source0: https://www.cpan.org/src/5.0/%{name}-%{version}.tar.xz
|
||||||
@ -55,6 +55,7 @@ Patch25: perl-132683-don-t-try-to-convert-PL_sv_placeholder-i.patch
|
|||||||
# In 2020, a year of 70 starts to mean 2070. So cpan/Time-Local/t/Local.t test
|
# In 2020, a year of 70 starts to mean 2070. So cpan/Time-Local/t/Local.t test
|
||||||
Patch27: Fix-time-local-tests-in-2020.patch
|
Patch27: Fix-time-local-tests-in-2020.patch
|
||||||
Patch28: backport-perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch
|
Patch28: backport-perl-5.22.0-Install-libperl.so-to-shrpdir-on-Linux.patch
|
||||||
|
Patch29: backport-CVE-2023-31484.patch
|
||||||
|
|
||||||
|
|
||||||
%ifarch aarch64_ilp32
|
%ifarch aarch64_ilp32
|
||||||
@ -513,6 +514,9 @@ make test_harness
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue May 16 2023 dongyuzhen <dongyuzhen@h-partners.com> - 4:5.28.3-8
|
||||||
|
- fix CVE-2023-31484
|
||||||
|
|
||||||
* Thu Aug 5 2021 yuanxin<yuanxin24@huawei.com> - 4:5.28.3-7
|
* Thu Aug 5 2021 yuanxin<yuanxin24@huawei.com> - 4:5.28.3-7
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user