diff --git a/SOURCES/DBI-1.630-Security-notice-for-Proxy.patch b/SOURCES/DBI-1.630-Security-notice-for-Proxy.patch new file mode 100644 index 0000000..f79b352 --- /dev/null +++ b/SOURCES/DBI-1.630-Security-notice-for-Proxy.patch @@ -0,0 +1,55 @@ +From cd8fcbbf402e1d70c9f325f8b0fcd99e02cf14be Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= +Date: Mon, 18 Nov 2013 12:52:09 +0100 +Subject: [PATCH] Security notice for Proxy +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +PlRPC is not secure due to Storable. Warn Proxy users about it. + +Signed-off-by: Petr Písař +--- + lib/DBD/Proxy.pm | 7 +++++++ + lib/DBI/ProxyServer.pm | 7 +++++++ + 2 files changed, 14 insertions(+) + +diff --git a/lib/DBD/Proxy.pm b/lib/DBD/Proxy.pm +index 287b2dc..5948255 100644 +--- a/lib/DBD/Proxy.pm ++++ b/lib/DBD/Proxy.pm +@@ -974,6 +974,13 @@ The workaround is storing the modified local copy back to the server: + $dbh->{"csv_tables"} = $tables; + + ++=head1 SECURITY WARNING ++ ++L used underneath is not secure due to serializing and ++deserializing data with L module. Use the proxy driver only in ++trusted environment. ++ ++ + =head1 AUTHOR AND COPYRIGHT + + This module is Copyright (c) 1997, 1998 +diff --git a/lib/DBI/ProxyServer.pm b/lib/DBI/ProxyServer.pm +index 68ad4af..78a0d78 100644 +--- a/lib/DBI/ProxyServer.pm ++++ b/lib/DBI/ProxyServer.pm +@@ -867,6 +867,13 @@ Don't try to put parameters into the sql-query like this: + =back + + ++=head1 SECURITY WARNING ++ ++L used underneath is not secure due to serializing and ++deserializing data with L module. Use the proxy driver only in ++trusted environment. ++ ++ + =head1 AUTHOR + + Copyright (c) 1997 Jochen Wiedmann +-- +1.8.3.1 + diff --git a/SPECS/perl-DBI.spec b/SPECS/perl-DBI.spec index 6986000..b8f7af9 100644 --- a/SPECS/perl-DBI.spec +++ b/SPECS/perl-DBI.spec @@ -8,12 +8,14 @@ Name: perl-DBI Version: 1.627 -Release: 1%{?dist} +Release: 4%{?dist} Summary: A database access API for perl Group: Development/Libraries License: GPL+ or Artistic URL: http://dbi.perl.org/ Source0: http://www.cpan.org/authors/id/T/TI/TIMB/DBI-%{version}.tar.gz +# Add a security warning about use of RPC::PlClient, bug #1030578, CPAN RT#90475 +Patch0: DBI-1.630-Security-notice-for-Proxy.patch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) @@ -95,6 +97,7 @@ database interface independent of the actual database being used. %prep %setup -q -n DBI-%{version} +%patch0 -p1 iconv -f iso8859-1 -t utf-8 lib/DBD/Gofer.pm >lib/DBD/Gofer.pm.new && mv lib/DBD/Gofer.pm{.new,} chmod 644 ex/* @@ -138,6 +141,15 @@ make test %{_mandir}/man3/*.3* %changelog +* Fri Jan 24 2014 Daniel Mach - 1.627-4 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.627-3 +- Mass rebuild 2013-12-27 + +* Tue Nov 26 2013 Petr Pisar - 1.627-2 +- Add a security warning about use of RPC::PlClient (bug #1030578) + * Mon May 20 2013 Petr Pisar - 1.627-1 - 1.627 bump