From nobody Wed Nov 24 15:20:06 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 8C66C189DBEF; Wed, 24 Nov 2021 15:20:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hzl7C01Yjz4tKy; Wed, 24 Nov 2021 15:20:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D1B99443C; Wed, 24 Nov 2021 15:20:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1AOFK66h028216; Wed, 24 Nov 2021 15:20:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1AOFK6ol028212; Wed, 24 Nov 2021 15:20:06 GMT (envelope-from git) Date: Wed, 24 Nov 2021 15:20:06 GMT Message-Id: <202111241520.1AOFK6ol028212@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yasuhiro Kimura Subject: git: e7ee2d3aebc3 - main - security/vuxml: Document cookie prefix spoofing in rubygem-cgi List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yasu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e7ee2d3aebc37aee94cdea390d1a78555c81d86c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637767207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AwVyHDBlV8qHqFsgix09InQ5k4Ll85q4ZeHPpXIpr5Y=; b=ppuB69ls3+XGckzF2pYhCiRZjQaloO93cgU/5OdwwC2TNcBgeo+1b0sO7T81BuuMfhGr6l la/iPe+KCTGdI+lll87ij2JtW498z6M4ZE85/j5htrkqRa09/gBp+TMFM7qyIGiWjRRC3D KVOpiTE42BGfhVehNmogh2RzNgIEF/ffqT2GCeQnHclmwcHXRNWMWrhoaidwSJgDEOA/q/ vN1K2BWxxmVLJqEQexGjebmS67Hwx6MR3O+jUsMB6ZMjmSHa1lAWliXWu2x4DJ2VqhKXGk mTQf92gR8oD7bLRqyzAczQw/B8Sh8Kx5Rq2a8BjFrj90RaWwio28S5xsyzTo2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637767207; a=rsa-sha256; cv=none; b=bM+NjGCw4Tf1g1nhV+y2dtl529vKFr+wiN+87fj1d1YEzQhlq9rpAr9yDjS/R3+4oWJNpo az8JTYZm5wkvdqkyVgl6HsqahEvCiww6oaZ/Nr/tcuDTE6hrxAscbBEHstB100+cngbHoS 9s1slZZUKtWkWtMpVKAh4G6lynTcVer/g74r6AU1uqKvHI96vBiSxx2ov+3nP/LRTrLHW3 6qB5yPny9b1L97FReEbfJIydYFF7MT1Ia/g4g348HGFB3tkmja9HlPczY8orwCden4gILa gGIBbm73D2lOLp9beXKFSKVB1KTUe7p7zNY2eqO9yUw3CuWEa90f9lG51YhKtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7ee2d3aebc37aee94cdea390d1a78555c81d86c commit e7ee2d3aebc37aee94cdea390d1a78555c81d86c Author: Yasuhiro Kimura AuthorDate: 2021-11-24 15:14:53 +0000 Commit: Yasuhiro Kimura CommitDate: 2021-11-24 15:18:56 +0000 security/vuxml: Document cookie prefix spoofing in rubygem-cgi --- security/vuxml/vuln-2021.xml | 56 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/security/vuxml/vuln-2021.xml b/security/vuxml/vuln-2021.xml index f315ab34cd59..60390f655b37 100644 --- a/security/vuxml/vuln-2021.xml +++ b/security/vuxml/vuln-2021.xml @@ -1,3 +1,59 @@ + + rubygem-cgi -- cookie prefix spoofing in CGI::Cookie.parse + + + ruby + 2.6.0,12.6.9,1 + 2.7.0,12.7.5,1 + 3.0.0,13.0.3,1 + + + ruby26 + 2.6.0,12.6.9,1 + + + ruby27 + 2.7.0,12.7.5,1 + + + ruby30 + 3.0.0,13.0.3,1 + + + rubygem-cgi + 0.3.1 + + + + +

ooooooo_q reports:

+
+

+ The old versions of CGI::Cookie.parse applied + URL decoding to cookie names. An attacker could exploit + this vulnerability to spoof security prefixes in cookie + names, which may be able to trick a vulnerable + application. +

+

+ By this fix, CGI::Cookie.parse no longer + decodes cookie names. Note that this is an incompatibility + if cookie names that you are using include + non-alphanumeric characters that are URL-encoded. +

+
+ +
+ + CVE-2021-41819 + https://www.ruby-lang.org/en/news/2021/11/24/cookie-prefix-spoofing-in-cgi-cookie-parse-cve-2021-41819/ + + + 2021-11-24 + 2021-11-24 + +
+ rubygem-cgi -- buffer overrun in CGI.escape_html