Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1547772 - (CVE-2018-6913) CVE-2018-6913 perl: heap buffer overflow in pp_pack.c
CVE-2018-6913 perl: heap buffer overflow in pp_pack.c
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20180414,reported=2...
: Security
Depends On: 1567776
Blocks: 1547784
  Show dependency treegraph
 
Reported: 2018-02-21 17:31 EST by Laura Pardo
Modified: 2018-04-18 10:30 EDT (History)
16 users (show)

See Also:
Fixed In Version: perl 5.26.2, perl 5.24.4
Doc Type: If docs needed, set a value
Doc Text:
It was found that the pack() function in the 32-bit version of the perl interpreter was vulnerable to heap buffer overflow via the packing template. An attacker, able to provide a specially crafted template, could use this flaw to crash the interpreter.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-04-16 04:39:08 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Laura Pardo 2018-02-21 17:31:51 EST
A flaw was found in Perl 5. Vulnerable code in pp_pack.c file accepts either large blocks of data from untrusted sources and/or duplicates such blocks, which allows an attacker to exploit this vulnerability at runtime by supplying malicious crafted data. This could result in a denial-of-service (DoS) attack.
Comment 3 Petr Pisar 2018-02-22 08:31:10 EST
Reproducer for 32-bit architecture:

$ perl -e 'pack "c10f1073741823"'
Segmentation fault (core dumped)
Comment 6 Petr Pisar 2018-03-26 06:26:47 EDT
Perl 5 Porters published the fix for Perl 5.26.1 at <https://perl5.git.perl.org/perl.git/commit/0fcf83230df5f8c52602ae22fde57c7ea885534d> and in Perl-5.26.2-RC1 and 5.24.4-RC1 tar balls.
Comment 10 Cedric Buissart 2018-04-16 04:06:19 EDT
Created perl tracking bugs for this issue:

Affects: fedora-all [bug 1567776]
Comment 11 Cedric Buissart 2018-04-16 04:52:03 EDT
Upstream fix:
- (perl #131844) fix various space calculation issues in pp_pack.c
https://perl5.git.perl.org/perl.git/commit/f17fed5006177dce8ac48229c424a2da0d6ba492
Comment 12 Cedric Buissart 2018-04-16 05:17:07 EDT
External References:

https://rt.perl.org/Public/Bug/Display.html?id=131844
Comment 15 Cedric Buissart 2018-04-16 07:16:14 EDT
Statement:

The 64-bit versions of perl have not been found to be affected. As a result, this issue did not affect the versions of perl as shipped with Red Hat Enterprise Linux 7, and the versions of  rh-perl526-perl,  rh-perl524-perl and  rh-perl520-perl as shipped with Red Hat Software Collections.

This issue affects the 32bit versions of perl as shipped with Red Hat Enterprise Linux 6. Red Hat Enterprise Linux 6 is now in Maintenance Support 2 Phase of the support and maintenance life cycle. This has been rated as having a security impact of Low, and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

This issue may affect the versions of perl as shipped with Red Hat Enterprise Linux 5. Red Hat Enterprise Linux 5 is now in Extended Life Cycle phase of the support and maintenance life cycle. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.
Comment 19 Cedric Buissart 2018-04-18 10:30:15 EDT
Acknowledgments:

Name: Perl 5 Porters
Upstream: GwanYeong Kim

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