<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>211561</bug_id>
          
          <creation_ts>2016-08-03 23:06:15 +0000</creation_ts>
          <short_desc>lang/perl5.20, 5.22 &amp; 5.24: Multiple Vulnerabilities</short_desc>
          <delta_ts>2016-08-15 09:39:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Ports &amp; Packages</product>
          <component>Individual Port(s)</component>
          <version>Latest</version>
          <rep_platform>Any</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needs-patch, security</keywords>
          <priority>Normal</priority>
          <bug_severity>Affects Many People</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sevan Janiyan">venture37</reporter>
          <assigned_to name="freebsd-perl (Nobody)">perl</assigned_to>
          <cc>amontalban</cc>
    
    <cc>dereks</cc>
    
    <cc>feld</cc>
    
    <cc>holger</cc>
    
    <cc>lists</cc>
    
    <cc>perl</cc>
    
    <cc>ports-secteam</cc>
    
    <cc>sa.inbox</cc>
    
    <cc>swills</cc>
          

      

      

      <flag name="maintainer-feedback"
          id="14120"
          type_id="3"
          status="?"
          setter="koobs"
          requestee="perl"
    />
    <flag name="merge-quarterly"
          id="14121"
          type_id="7"
          status="?"
          setter="koobs"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>891134</commentid>
    <comment_count>0</comment_count>
    <who name="Sevan Janiyan">venture37</who>
    <bug_when>2016-08-03 23:06:15 +0000</bug_when>
    <thetext>Missing vuxml entry &amp; port update or patch.
http://cve.circl.lu/cve/CVE-2016-1238</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891136</commentid>
    <comment_count>1</comment_count>
    <who name="Sevan Janiyan">venture37</who>
    <bug_when>2016-08-03 23:20:22 +0000</bug_when>
    <thetext>Patches for 5.20 can be found on Andrew Fresh&apos;s post
http://www.nntp.perl.org/group/perl.perl5.porters/2016/07/msg238292.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891138</commentid>
    <comment_count>2</comment_count>
    <who name="Sevan Janiyan">venture37</who>
    <bug_when>2016-08-03 23:28:01 +0000</bug_when>
    <thetext>CVE-2016-6185
http://cve.circl.lu/cve/CVE-2016-6185</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891262</commentid>
    <comment_count>3</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-04 17:52:41 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Thu Aug  4 17:52:36 UTC 2016
New revision: 419639
URL: https://svnweb.freebsd.org/changeset/ports/419639

Log:
  Document perl vulnerability

  PR:		211561
  Security:	CVE-2016-1238

Changes:
  head/security/vuxml/vuln.xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891270</commentid>
    <comment_count>4</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-04 18:12:46 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Thu Aug  4 18:12:35 UTC 2016
New revision: 419642
URL: https://svnweb.freebsd.org/changeset/ports/419642

Log:
  Document p5-XSLoader vulnerability

  PR:		211561
  Security:	CVE-2016-6185

Changes:
  head/security/vuxml/vuln.xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891272</commentid>
    <comment_count>5</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-04 18:19:51 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Thu Aug  4 18:19:01 UTC 2016
New revision: 419644
URL: https://svnweb.freebsd.org/changeset/ports/419644

Log:
  Fix vuxml entry for recent perl vulnerabilities to correctly match package names

  PR:		211561

Changes:
  head/security/vuxml/vuln.xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891371</commentid>
    <comment_count>6</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-05 14:01:23 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Fri Aug  5 14:00:54 UTC 2016
New revision: 419686
URL: https://svnweb.freebsd.org/changeset/ports/419686

Log:
  devel/p5-XSLoader: Update to 0.22

  This update resolves a local arbitrary code execution CVE.

  PR:		211561
  MFH:		2016Q3
  Security:	CVE-2016-6185

Changes:
  head/devel/p5-XSLoader/Makefile
  head/devel/p5-XSLoader/distinfo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891372</commentid>
    <comment_count>7</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-05 14:02:25 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Fri Aug  5 14:01:38 UTC 2016
New revision: 419687
URL: https://svnweb.freebsd.org/changeset/ports/419687

Log:
  MFH: r419686

  devel/p5-XSLoader: Update to 0.22

  This update resolves a local arbitrary code execution CVE.

  PR:		211561
  Security:	CVE-2016-6185

  Approved by:	ports-secteam (with hat)

Changes:
_U  branches/2016Q3/
  branches/2016Q3/devel/p5-XSLoader/Makefile
  branches/2016Q3/devel/p5-XSLoader/distinfo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>891417</commentid>
    <comment_count>8</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-05 17:16:45 +0000</bug_when>
    <thetext>A commit references this bug:

Author: feld
Date: Fri Aug  5 17:15:58 UTC 2016
New revision: 419696
URL: https://svnweb.freebsd.org/changeset/ports/419696

Log:
  Update perl vuxml entries

  Perl package names changed somewhat recently, so add more &lt;name&gt; entries
  to improve coverage for users on systems with outdated ports/packages

  PR:		211561

Changes:
  head/security/vuxml/vuln.xml</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892172</commentid>
    <comment_count>9</comment_count>
    <who name="Mark Felder">feld</who>
    <bug_when>2016-08-10 13:52:12 +0000</bug_when>
    <thetext>They haven&apos;t released the Perl updates yet, but there are patches we could backport... I didn&apos;t have time to backport them and was hoping the release would be out by now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892177</commentid>
    <comment_count>10</comment_count>
    <who name="Kubilay Kocak">koobs</who>
    <bug_when>2016-08-10 14:15:51 +0000</bug_when>
    <thetext>Who&apos;s on perl@ ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892206</commentid>
    <comment_count>11</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2016-08-10 15:49:58 +0000</bug_when>
    <thetext>Me.

New releases of Perl 5.22 and 5.24 are coming, I&apos;ll have a look at what needs patching later.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892346</commentid>
    <comment_count>12</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-11 13:32:14 +0000</bug_when>
    <thetext>A commit references this bug:

Author: mat
Date: Thu Aug 11 13:32:06 UTC 2016
New revision: 420067
URL: https://svnweb.freebsd.org/changeset/ports/420067

Log:
  Update lang/perl5.* to fix CVE-2016-1238.

  We&apos;re exceptionnaly using the latest release candidates for this, Perl
  5.22.3 and 5.24.1 were about to be released when CVE-2016-1238 hit the
  fan, so we feel confident that EVERYTHING WILL BE FINE.

  - lang/perl5.24 goes to 5.24.1-RC2.
  - lang/perl5.22 goes to 5.22.3-RC2.
  - lang/perl5.20 goes to 5.20.3_14.
  - lang/perl5.18 goes to 5.18.3_23

  PR:		211561
  Reported by:	Sevan Janiyan
  MFH:		2016Q3
  Security:	CVE-2016-1238
  Sponsored by:	Absolight

Changes:
  head/lang/perl5.18/Makefile
  head/lang/perl5.18/files/patch-CVE-2016-1238
  head/lang/perl5.20/Makefile
  head/lang/perl5.20/files/patch-CVE-2016-1238
  head/lang/perl5.22/Makefile
  head/lang/perl5.22/distinfo
  head/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc.pm
  head/lang/perl5.22/files/patch-t_porting_customized.dat
  head/lang/perl5.22/pkg-plist
  head/lang/perl5.22/version.mk
  head/lang/perl5.24/Makefile
  head/lang/perl5.24/distinfo
  head/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc.pm
  head/lang/perl5.24/files/patch-t_porting_customized.dat
  head/lang/perl5.24/pkg-plist
  head/lang/perl5.24/version.mk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892348</commentid>
    <comment_count>13</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2016-08-11 13:35:20 +0000</bug_when>
    <thetext>A commit references this bug:

Author: mat
Date: Thu Aug 11 13:34:48 UTC 2016
New revision: 420070
URL: https://svnweb.freebsd.org/changeset/ports/420070

Log:
  MFH: r420067

  Update lang/perl5.* to fix CVE-2016-1238.

  We&apos;re exceptionnaly using the latest release candidates for this, Perl
  5.22.3 and 5.24.1 were about to be released when CVE-2016-1238 hit the
  fan, so we feel confident that EVERYTHING WILL BE FINE.

  - lang/perl5.24 goes to 5.24.1-RC2.
  - lang/perl5.22 goes to 5.22.3-RC2.
  - lang/perl5.20 goes to 5.20.3_14.
  - lang/perl5.18 goes to 5.18.3_23

  PR:		211561
  Reported by:	Sevan Janiyan
  Security:	CVE-2016-1238
  Sponsored by:	Absolight

Changes:
_U  branches/2016Q3/
  branches/2016Q3/lang/perl5.18/Makefile
  branches/2016Q3/lang/perl5.18/files/patch-CVE-2016-1238
  branches/2016Q3/lang/perl5.20/Makefile
  branches/2016Q3/lang/perl5.20/files/patch-CVE-2016-1238
  branches/2016Q3/lang/perl5.22/Makefile
  branches/2016Q3/lang/perl5.22/distinfo
  branches/2016Q3/lang/perl5.22/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc.pm
  branches/2016Q3/lang/perl5.22/files/patch-t_porting_customized.dat
  branches/2016Q3/lang/perl5.22/pkg-plist
  branches/2016Q3/lang/perl5.22/version.mk
  branches/2016Q3/lang/perl5.24/Makefile
  branches/2016Q3/lang/perl5.24/distinfo
  branches/2016Q3/lang/perl5.24/files/patch-cpan_Pod-Perldoc_lib_Pod_Perldoc.pm
  branches/2016Q3/lang/perl5.24/files/patch-t_porting_customized.dat
  branches/2016Q3/lang/perl5.24/pkg-plist
  branches/2016Q3/lang/perl5.24/version.mk</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892396</commentid>
    <comment_count>14</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2016-08-11 17:10:34 +0000</bug_when>
    <thetext>closing this, I think its purposed has been served.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892406</commentid>
    <comment_count>15</comment_count>
    <who name="Andres Montalban">amontalban</who>
    <bug_when>2016-08-11 19:55:20 +0000</bug_when>
    <thetext>Hey guys,

I have upgraded to latest (perl5-5.20.3_14) but when I run &quot;pkg audit -F&quot; I get this output:

root@SERVER:~ # pkg audit -F
vulnxml file up-to-date
perl5-5.20.3_14 is vulnerable:
p5-XSLoader -- local arbitrary code execution
CVE: CVE-2016-6185
WWW: https://vuxml.FreeBSD.org/freebsd/3e08047f-5a6c-11e6-a6c3-14dae9d210b8.html

1 problem(s) in the installed packages found.

But two things:

1) I don&apos;t have p5-XSLoader package installed:

root@SERVER:~ # pkg info -ao | grep p5-XSLoader
root@SERVER:~ # 

2) Seems XSLoader is in perl5.20 package?

root@SERVER:~ # pkg info -l perl5 | grep XSLoader
        /usr/local/lib/perl5/5.20/XSLoader.pm
        /usr/local/lib/perl5/5.20/perl/man/man3/XSLoader.3.gz

So maybe the vuln needs to be updated to not match perl5-5.20.3_14 or remove XSLoader.pm from perl5.20?

Looking forward for your comments.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892413</commentid>
    <comment_count>16</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2016-08-11 20:51:25 +0000</bug_when>
    <thetext>Oh, I missed that there was another vuln.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892718</commentid>
    <comment_count>17</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2016-08-13 21:28:17 +0000</bug_when>
    <thetext>*** Bug 211816 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>892933</commentid>
    <comment_count>18</comment_count>
    <who name="Mathieu Arnold">mat</who>
    <bug_when>2016-08-15 09:39:46 +0000</bug_when>
    <thetext>Oops, forgot to mention the PR in the commit.  Fixed in 420220 (head) and 420221 (quarterly).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>