Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
_perl-DateTime-TimeZone_ rebased to version 1.70
The _perl-DateTime-TimeZone_ package has been upgraded to upstream version 1.70, which provides a number of bug fixes and enhancements over the previous version. Notably:
* With this update, it is possible to install Bugzilla version 5, which requires a more recent version of _perl-DateTime-TimeZone_ than the system provided previously.
* The Olson time zone database has been updated to version 2017b. Previously, applications written in the *Perl* language that use the *DateTime::TimeZone* module mishandled time zones that changed their specifications since version 2013h due to the outdated database.
* Using a local time zone from a tainted time zone identifier has been fixed.
Description of problem:
The new bugzilla generation 5 need version 1.64 of it, but only 1.63 is available.
Version-Release number of selected component (if applicable):
perl-DateTime-TimeZone-1.63-2.el7.noarch
See https://www.bugzilla.org/releases/5.0/release-notes.html#v50_feat for more.
The 1.64 source archive was moved to Backpan <http://backpan.perl.org/authors/id/D/DR/DROLSKY/DateTime-TimeZone-1.64.tar.gz>.
Changes between 1.63 and 1.64:
* Version bump.
* lib/DateTime/TimeZone/Local/Unix.pm and lib/DateTime/TimeZone/OlsonDB.pm use more secure 3-argument open() instead of the 2-argument variant.
* Year updated in copyright declarations.
* lib/DateTime/TimeZone.pm checks class name which implements requested time zone more strictly and thus untains tainted time zone name properly. This is the only bug fix quoted in the changelog. It's one-line change.
* New build-time dependencies for running tests: Test::Fatal, Test::Requires, Test::Taint. If Test::Taint and Test::Fatal are optional.
* New t/22taint-mode.t test.
* Upstream changelog is:
+1.64 2014-02-07
+
+- Under taint mode, DateTime::TimeZone->new( name => 'local' ) could die
+ depending on the method used to find the local time zone name. The resulting
+ variable would often be tainted. We now untaint all names before attempting
+ to load them. Reported by Stevie-O. RT #92631.
+
The 1.64 can be built in RHEL-7.2. All tests pass.
Reproducer for the only significant change is:
$ perl -T -e 'use DateTime::TimeZone; DateTime::TimeZone->new(name => $ARGV[0])' 'America/Chicago'
Insecure dependency in eval while running with -T switch at /usr/share/perl5/vendor_perl/DateTime/TimeZone.pm line 79.
The significant change is:
--- DateTime-TimeZone-1.63/lib/DateTime/TimeZone.pm 2013-10-28 15:50:52.000000000 +0100
+++ DateTime-TimeZone-1.64/lib/DateTime/TimeZone.pm 2014-02-07 22:58:21.000000000 +0100
@@ -73,6 +67,8 @@
unless $real_class =~ /^\w+(::\w+)*$/;
unless ( $real_class->can('instance') ) {
+ ($real_class) = $real_class =~ m{\A([a-zA-Z0-9_]+(?:::[a-zA-Z0-9_]+)*)\z};
+
my $e = do {
local $@;
local $SIG{__DIE__};
@@ -564,7 +560,7 @@
We can either rebase the package to 1.64 or back-port the fix. Back-porting of course does not change the version number from 1.63 to 1.64.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2018:0664