CVE-2024-47176 cups-filters: cups-browsed binds on UDP INADDR_ANY:631 trusting any packet from any source
Resolves: RHEL-60312
This commit is contained in:
parent
ac277b933f
commit
60348c5746
@ -291,6 +291,7 @@ The package provides filters and cups-brf backend needed for braille printing.
|
||||
%else
|
||||
--disable-braille \
|
||||
%endif
|
||||
--with-browseremoteprotocols=none\
|
||||
--enable-auto-setup-driverless
|
||||
|
||||
make %{?_smp_mflags}
|
||||
@ -340,6 +341,14 @@ make check
|
||||
%post
|
||||
%systemd_post cups-browsed.service
|
||||
|
||||
# Set BrowseRemoteProtocols to none in light of CVE-2024-47176
|
||||
if ! grep -Fxq "# added by post scriptlet" %{_sysconfdir}/cups/cups-browsed.conf
|
||||
then
|
||||
cp %{_sysconfdir}/cups/cups-browsed.conf %{_sysconfdir}/cups/cups-browsed.conf.rpmsave
|
||||
sed -i "s/^\s*BrowseRemoteProtocols.*/# added by post scriptlet\nBrowseRemoteProtocols none/" %{_sysconfdir}/cups/cups-browsed.conf
|
||||
fi
|
||||
|
||||
|
||||
%preun
|
||||
%systemd_preun cups-browsed.service
|
||||
|
||||
@ -355,7 +364,7 @@ make check
|
||||
%{_pkgdocdir}/README
|
||||
%{_pkgdocdir}/AUTHORS
|
||||
%{_pkgdocdir}/NEWS
|
||||
%config(noreplace) %{_sysconfdir}/cups/cups-browsed.conf
|
||||
%config(noreplace) %verify(not size filedigest mtime) %{_sysconfdir}/cups/cups-browsed.conf
|
||||
%attr(0755,root,root) %{_cups_serverbin}/backend/parallel
|
||||
# Serial backend needs to run as root (bug #212577#c4).
|
||||
%attr(0700,root,root) %{_cups_serverbin}/backend/serial
|
||||
@ -471,6 +480,7 @@ make check
|
||||
* Fri Sep 27 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-35
|
||||
- CVE-2024-47175 cups-filters: remote command injection via attacker controlled data in PPD file
|
||||
- CVE-2024-47076 cups-filters: `cfGetPrinterAttributes` API does not perform sanitization on returned IPP attributes
|
||||
- CVE-2024-47176 cups-filters: cups-browsed binds on UDP INADDR_ANY:631 trusting any packet from any source
|
||||
|
||||
* Mon Feb 26 2024 Zdenek Dohnal <zdohnal@redhat.com> - 1.20.0-34
|
||||
- RHEL-13211 redhat-lsb unnecessary pulls in cups and avahi dependencies
|
||||
|
Loading…
Reference in New Issue
Block a user