Skip to content

Commit da61f9c

Browse files
[AUTOPATCHER-CORE] Upgrade dhcp to 4.4.3-P1 CVE-2022-2928, CVE-2022-2929 (#9436)
Co-authored-by: Osama Esmail <osamaesmail@microsoft.com>
1 parent 6a2491b commit da61f9c

3 files changed

Lines changed: 13 additions & 19 deletions

File tree

SPECS/dhcp/dhcp.signatures.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"dhcp-4.4.3.tar.gz": "0e3ec6b4c2a05ec0148874bcd999a66d05518378d77421f607fb0bc9d0135818"
3+
"dhcp-4.4.3-P1.tar.gz": "0ac416bb55997ca8632174fd10737fd61cdb8dba2752160a335775bc21dc73c7"
44
}
55
}

SPECS/dhcp/dhcp.spec

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
Summary: Dynamic host configuration protocol
22
Name: dhcp
3-
Version: 4.4.3
4-
Release: 3%{?dist}
3+
Version: 4.4.3.P1
4+
Release: 1%{?dist}
55
License: MPLv2.0
66
Url: https://www.isc.org/dhcp/
7-
Source0: ftp://ftp.isc.org/isc/dhcp/%{version}/%{name}-%{version}.tar.gz
8-
Patch0: CVE-2022-38177.patch
9-
Patch1: CVE-2022-38178.patch
10-
Patch2: CVE-2022-2795.patch
11-
Patch3: CVE-2023-2828.patch
7+
Source0: https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz
128
Group: System Environment/Base
139
Vendor: Microsoft Corporation
14-
Distribution: Mariner
10+
Distribution: Azure Linux
1511
BuildRequires: systemd
1612
%description
1713
The ISC DHCP package contains both the client and server programs for DHCP. dhclient (the client) is used for connecting to a network which uses DHCP to assign network addresses. dhcpd (the server) is used for assigning network addresses on private networks
@@ -42,15 +38,9 @@ The ISC DHCP Client, dhclient, provides a means for configuring one or more netw
4238

4339

4440
%prep
45-
%setup -q -n dhcp-%{version}
41+
%autosetup -p1 -n dhcp-4.4.3-P1
4642

47-
# Extracting bundled 'bind' to allow some of the patches to modify it.
48-
tar -C bind -xf bind/bind.tar.gz
49-
ln -s bind/bind-9* bind_ln
50-
51-
%autopatch -p1
52-
53-
%build
43+
%build -n dhcp-4.4.3-P1
5444
CFLAGS="$CFLAGS \
5545
-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"' \
5646
-D_PATH_DHCPD_CONF='\"/etc/dhcp/dhcpd.conf\"' \
@@ -179,6 +169,10 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/dhclient/
179169
%{_mandir}/man8/dhclient.8.gz
180170

181171
%changelog
172+
* Wed Jun 19 2024 CBL-Mariner Servicing Account <cblmargh@microsoft.com> - 4.4.3-P1-1
173+
- Auto-upgrade to 4.4.3-P1 - CVE-2022-2928, CVE-2022-2929
174+
- Updating spec to match 3.0
175+
182176
* Wed May 29 2024 Sumedh Sharma <sumsharma@microsoft.com> - 4.4.3-3
183177
- Fix CVE-2023-2828
184178

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2608,8 +2608,8 @@
26082608
"type": "other",
26092609
"other": {
26102610
"name": "dhcp",
2611-
"version": "4.4.3",
2612-
"downloadUrl": "ftp://ftp.isc.org/isc/dhcp/4.4.3/dhcp-4.4.3.tar.gz"
2611+
"version": "4.4.3.P1",
2612+
"downloadUrl": "https://downloads.isc.org/isc/dhcp/4.4.3-P1/dhcp-4.4.3-P1.tar.gz"
26132613
}
26142614
}
26152615
},

0 commit comments

Comments
 (0)