From owner-svn-ports-all@FreeBSD.ORG Mon Jun 22 07:13:47 2015 Return-Path: Delivered-To: svn-ports-all@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 5EEB03BD; Mon, 22 Jun 2015 07:13:47 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (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 33C7C1EE6; Mon, 22 Jun 2015 07:13:47 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5M7Dl5a081559; Mon, 22 Jun 2015 07:13:47 GMT (envelope-from delphij@FreeBSD.org) Received: (from delphij@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5M7Dk66081558; Mon, 22 Jun 2015 07:13:46 GMT (envelope-from delphij@FreeBSD.org) Message-Id: <201506220713.t5M7Dk66081558@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: delphij set sender to delphij@FreeBSD.org using -f From: Xin LI Date: Mon, 22 Jun 2015 07:13:46 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r390279 - head/security/vuxml X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jun 2015 07:13:47 -0000 Author: delphij Date: Mon Jun 22 07:13:46 2015 New Revision: 390279 URL: https://svnweb.freebsd.org/changeset/ports/390279 Log: Document rubygem-paperclip validation bypass vulnerabilitiy. PR: 200979 Submitted by: Jason Unovitch Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Mon Jun 22 07:09:45 2015 (r390278) +++ head/security/vuxml/vuln.xml Mon Jun 22 07:13:46 2015 (r390279) @@ -57,6 +57,42 @@ Notes: --> + + rubygem-paperclip -- validation bypass vulnerabilitiy + + + rubygem-paperclip + 4.2.2 + + + + +

Jon Yurek reports:

+
+

Thanks to MORI Shingo of DeNA Co., Ltd. for reporting this.

+

There is an issue where if an HTML file is uploaded with a .html + extension, but the content type is listed as being `image/jpeg`, + this will bypass a validation checking for images. But it will also + pass the spoof check, because a file named .html and containing + actual HTML passes the spoof check.

+

This change makes it so that we also check the supplied content + type. So even if the file contains HTML and ends with .html, it + doesn't match the content type of `image/jpeg` and so it fails.

+
+ +
+ + CVE-2015-2963 + https://github.com/thoughtbot/paperclip/commit/9aee4112f36058cd28d5fe4a006d6981bd1eda57 + https://robots.thoughtbot.com/paperclip-security-release + http://jvn.jp/en/jp/JVN83881261/index.html + + + 2015-06-05 + 2015-06-22 + +
+ chicken -- Potential buffer overrun in string-translate*