import CS libmicrohttpd-0.9.72-5.el9
This commit is contained in:
parent
97ab462a68
commit
b0900db667
15
SOURCES/cve-2023-27371.patch
Normal file
15
SOURCES/cve-2023-27371.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c
|
||||||
|
index 99074215..c00605c7 100644
|
||||||
|
--- a/src/microhttpd/postprocessor.c
|
||||||
|
+++ b/src/microhttpd/postprocessor.c
|
||||||
|
@@ -83,7 +83,7 @@ MHD_create_post_processor (struct MHD_Connection *connection,
|
||||||
|
return NULL; /* failed to determine boundary */
|
||||||
|
boundary += MHD_STATICSTR_LEN_ ("boundary=");
|
||||||
|
blen = strlen (boundary);
|
||||||
|
- if ( (blen == 0) ||
|
||||||
|
+ if ( (blen < 2) ||
|
||||||
|
(blen * 2 + 2 > buffer_size) )
|
||||||
|
return NULL; /* (will be) out of memory or invalid boundary */
|
||||||
|
if ( (boundary[0] == '"') &&
|
||||||
|
--
|
||||||
|
cgit v1.2.3
|
@ -1,12 +1,13 @@
|
|||||||
Name: libmicrohttpd
|
Name: libmicrohttpd
|
||||||
Version: 0.9.72
|
Version: 0.9.72
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Summary: Lightweight library for embedding a webserver in applications
|
Summary: Lightweight library for embedding a webserver in applications
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.gnu.org/software/libmicrohttpd/
|
URL: http://www.gnu.org/software/libmicrohttpd/
|
||||||
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
Source0: https://ftp.gnu.org/gnu/libmicrohttpd/%{name}-%{version}.tar.gz
|
||||||
Patch0: gnutls-utilize-system-crypto-policy.patch
|
Patch0: gnutls-utilize-system-crypto-policy.patch
|
||||||
|
Patch1: cve-2023-27371.patch
|
||||||
|
|
||||||
BuildRequires: autoconf, automake, libtool, gettext-devel
|
BuildRequires: autoconf, automake, libtool, gettext-devel
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
@ -107,6 +108,11 @@ fi
|
|||||||
%doc html
|
%doc html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 28 2023 Pavel Šimovec <psimovec@redhat.com> - 1:0.9.72-5
|
||||||
|
- Add cve-2023-27371.patch
|
||||||
|
Related: rhbz#2174640
|
||||||
|
CVE-2023-27371
|
||||||
|
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.9.72-4
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:0.9.72-4
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
Loading…
Reference in New Issue
Block a user