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.
Bug 698552 - test in taint.t is not correct
Summary: test in taint.t is not correct
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: perl
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Petr Pisar
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-21 08:21 UTC by Marcela Mašláňová
Modified: 2013-11-21 04:40 UTC (History)
4 users (show)

Fixed In Version: perl-5.10.1-133.el6
Doc Type: Bug Fix
Doc Text:
Cause: Running tests suite at build-time. Consequence: Tests for CVE-2011-1487 could pass even if the CVE-2011-1487 vulnerability has not been fixed properly. Fix: Internal tests in t/op/taint.t have been corrected to check taintedness indeed. Result: Internal test suite run at build-time would fail if CVE-2011-1487 had not been fixed properly.
Clone Of:
Environment:
Last Closed: 2013-11-21 04:40:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tain.t patch fixes previous incorrect testing (1002 bytes, patch)
2011-04-21 08:25 UTC, Marcela Mašláňová
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 692862 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Product Errata RHBA-2013:1534 0 normal SHIPPED_LIVE perl bug fix and enhancement update 2013-11-20 21:40:56 UTC

Internal Links: 692862

Description Marcela Mašláňová 2011-04-21 08:21:30 UTC
People from Debian were porting our patch from Fedora 13 for perl-5.10.1. They found out that test part is missing tainted part, therefore we need patch the test part in next update.

The security issue was fixed and tested, so it's only matter of automatic test-suite.

Comment 2 Marcela Mašláňová 2011-04-21 08:25:31 UTC
Created attachment 493741 [details]
tain.t patch fixes previous incorrect testing

Comment 3 Petr Pisar 2011-04-21 10:10:42 UTC
(In reply to comment #0)
> People from Debian were porting our patch from Fedora 13 for perl-5.10.1.

The our patch is patch for bug #692862.

Comment 4 RHEL Program Management 2011-07-06 00:06:52 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 6 Petr Pisar 2013-06-05 11:29:59 UTC
The difference is:

--- a/t/op/taint.t
+++ b/t/op/taint.t
@@ -1320,13 +1320,13 @@ foreach my $ord (78, 163, 256) {
     # [perl #87336] lc/uc(first) failing to taint the returned string
     my $source = "foo$TAINT";
     my $dest = lc $source;
-    test $dest, "lc(tainted) taints its return value";
+    test tainted $dest, "lc(tainted) taints its return value";
     $dest = lcfirst $source;
-    test $dest, "lcfirst(tainted) taints its return value";
+    test tainted $dest, "lcfirst(tainted) taints its return value";
     $dest = uc $source;
-    test $dest, "uc(tainted) taints its return value";
+    test tainted $dest, "uc(tainted) taints its return value";
     $dest = ucfirst $source;
-    test $dest, "ucfirst(tainted) taints its return value";
+    test tainted $dest, "ucfirst(tainted) taints its return value";
 }
 
 # This may bomb out with the alarm signal so keep it last


This will be fixed by editing perl-5.10.1-lc_launders_taint.patch.

Comment 14 errata-xmlrpc 2013-11-21 04:40:00 UTC
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.

http://rhn.redhat.com/errata/RHBA-2013-1534.html


Note You need to log in before you can comment on or make changes to this bug.