From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jun 22 23:39:39 2015 Return-Path: Delivered-To: freebsd-ports-bugs@nevdull.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28E16731 for ; Mon, 22 Jun 2015 23:39:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 127A0215 for ; Mon, 22 Jun 2015 23:39:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5MNdcJK068406 for ; Mon, 22 Jun 2015 23:39:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201061] security/vuxml: document devel/rubygem-bson CVE-2015-4412 in already fixed port Date: Mon, 22 Jun 2015 23:39:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jason.unovitch@gmail.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 23:39:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201061 Bug ID: 201061 Summary: security/vuxml: document devel/rubygem-bson CVE-2015-4412 in already fixed port Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: jason.unovitch@gmail.com CC: ports-secteam@FreeBSD.org, ruby@FreeBSD.org CC: ports-secteam@FreeBSD.org, ruby@FreeBSD.org Created attachment 157999 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=157999&action=edit security/vuxml entry for CVE-2015-4412 in devel/rubygem-bson I observed this on the oss-security mailing list. sunpoet@ had already updated the port at the time. Play catch up now with documentation of the issue. My only comment up front is Mitre assigned 3 CVE's in the email but only one of them is in the rubygem-bson repository. That is CVE-2015-4412. My research shows the other issues are in other code bases and as such I have not documented it in the attached patch. == Research details: Per Mitre: "CVE-2015-4412 is for the durran 2013-04-07 commit in which the \A\h{24}\Z regular expression was changed to the ^[0-9a-f]{24}$ regular expression." I confirmed that was introduced here: https://github.com/mongodb/bson-ruby/commit/21141c78d99f23d5f34d32010557ef19d0f77203 The other two CVE's are not in the rubygem-bson repository. The rubygem-bson git repository starts at 2012-09-14 . The Mitre cve-assignment documents these for bugs introduced on 2012-01-23 and 2012-04-17. Red Hat, for example, is documenting these as being for rubygem-moped which is not in FreeBSD ports. https://access.redhat.com/security/cve/CVE-2015-4410 https://access.redhat.com/security/cve/CVE-2015-4411 == VALIDATION: # make validate /bin/sh /usr/ports/security/vuxml/files/tidy.sh "/usr/ports/security/vuxml/files/tidy.xsl" "/usr/ports/security/vuxml/vuln.xml" > "/usr/ports/security/vuxml/vuln.xml.tidy" >>> Validating... /usr/local/bin/xmllint --valid --noout /usr/ports/security/vuxml/vuln.xml >>> Successful. Checking if tidy differs... ... seems okay Checking for space/tab... ... seems okay /usr/local/bin/python2.7 /usr/ports/security/vuxml/files/extra-validation.py /usr/ports/security/vuxml/vuln.xml # env PKG_DBDIR=/usr/ports/security/vuxml pkg audit rubygem-bson-3.0.3 rubygem-bson-3.0.3 is vulnerable: rubygem-bson -- DoS and possible injection CVE: CVE-2015-4412 WWW: https://vuxml.FreeBSD.org/freebsd/f5225b23-192d-11e5-a1cf-002590263bf5.html 1 problem(s) in the installed packages found. # env PKG_DBDIR=/usr/ports/security/vuxml pkg audit rubygem-bson-3.0.4 0 problem(s) in the installed packages found. # env PKG_DBDIR=/usr/ports/security/vuxml pkg audit rubygem-bson-3.1.0 0 problem(s) in the installed packages found. -- You are receiving this mail because: You are the assignee for the bug.