Skip to contentSkip to conversation

perl: fix CVE-2023-31484/47038/47100

PATCH New [email protected] 1 participant 2 messages Dec 14, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 perl: fix CVE-2023-31484/47038/47100

From: Lee Chee Yang <[email protected]>

import patch from ubuntu
http://archive.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.30.0-9ubuntu0.5.debian.tar.xz

fix:
CVE-2023-31484
CVE-2023-47038
CVE-2023-47100

as per https://ubuntu.com/security/CVE-2023-47100 , CVE-2023-47100 is duplicate of CVE-2023-47038.

perl import entire CPAN in single commit, hence backport fix from their upstream cpan instead.

---
 .../perl/files/CVE-2023-31484.patch           |  27 ++++
 .../perl/files/CVE-2023-47038.patch           | 121 ++++++++++++++++++
 meta/recipes-devtools/perl/perl_5.30.1.bb     |   2 +
 3 files changed, 150 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/files/CVE-2023-31484.patch
 create mode 100644 meta/recipes-devtools/perl/files/CVE-2023-47038.patch
meta/recipes-devtools/perl/files/CVE-2023-31484.patch new file +27 -0
new file mode 100644
index 0000000000..0fea7bf8a8
@@ -0,0 +1,27 @@
+CVE: CVE-2023-31484
+Upstream-Status: Backport [  import from Ubuntu  perl_5.30.0-9ubuntu0.5
+upstream  https://github.com/andk/cpanpm/commit/9c98370287f4e709924aee7c58ef21c85289a7f0 ]
+Signed-off-by: Lee Chee Yang <[email protected]>
+
+From 9c98370287f4e709924aee7c58ef21c85289a7f0 Mon Sep 17 00:00:00 2001
+From: Stig Palmquist <[email protected]>
+Date: Tue, 28 Feb 2023 11:54:06 +0100
+Subject: [PATCH] Add verify_SSL=>1 to HTTP::Tiny to verify https server
+ identity
+
+---
+ 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 4fc792c26..a616fee20 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}) : ()
+     );
+ 
meta/recipes-devtools/perl/files/CVE-2023-47038.patch new file +121 -0

121 lines not on this page · raw message

meta/recipes-devtools/perl/perl_5.30.1.bb +2 -0
index 9bb94e7caa..4b5a4a5619 100644
@@ -29,6 +29,8 @@ SRC_URI = "https://www.cpan.org/src/5.0/perl-${PV}.tar.gz;name=perl \
            file://CVE-2020-10878_1.patch \
            file://CVE-2020-10878_2.patch \
            file://CVE-2020-12723.patch \
+           file://CVE-2023-31484.patch \
+           file://CVE-2023-47038.patch \
            "
 SRC_URI_append_class-native = " \
            file://perl-configpm-switch.patch \
Signature · 1 line
2.37.3
#1 lore raw

PATCH 2/2 binutils: Fix CVE-2023-25584

From: Lee Chee Yang <[email protected]>

import patch from ubuntu to fix CVE-2023-25584
http://archive.ubuntu.com/ubuntu/pool/main/b/binutils/binutils_2.34-6ubuntu1.7.debian.tar.xz

upstream patch :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=77c225bdeb410cf60da804879ad41622f5f1aa44

---
 .../binutils/binutils-2.34.inc                |   1 +
 .../binutils/binutils/CVE-2023-25584.patch    | 530 ++++++++++++++++++
 2 files changed, 531 insertions(+)
 create mode 100644 meta/recipes-devtools/binutils/binutils/CVE-2023-25584.patch
meta/recipes-devtools/binutils/binutils-2.34.inc +1 -0
index 371e8e9fa4..4824db6dcf 100644
@@ -55,5 +55,6 @@ SRC_URI = "\
      file://CVE-2022-38533.patch \
      file://CVE-2023-25588.patch \
      file://CVE-2021-46174.patch \
+     file://CVE-2023-25584.patch \
 "
 S  = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/CVE-2023-25584.patch new file +530 -0

530 lines not on this page · raw message

Signature · 1 line
2.37.3