From nobody Fri Nov 25 01:58:14 2022 X-Original-To: dev-commits-ports-main@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 4NJJ124M6Gz4hV43; Fri, 25 Nov 2022 01:58:14 +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 4NJJ123rkjz4MBj; Fri, 25 Nov 2022 01:58:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669341494; 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=j0SU0+nOFAMSsgzrxhHIGS6A5wd/hIyf43HI4S9Q1mc=; b=j6GnKFiUBVPXlXpRSRklT3k72OZzcXP/3HI0KeFdgX31lNzPuhQW+uWgN4GDz7ZNRExe8v a/l91kx1duZeGokpo8uzs3d9Id9cSJ0g2BqFfToZa9lkzKqEUX8znvvT2JkuDr37hKUxBl lRwN8WBPrN996xR2PXDMY5wArt4UQ6Q2XHqqGGZ0m+u1HCqO1W3+1z/e5auq509sVt2D0h zdI/CfL9mgZFpptDMUio419YRoNDcLpserOrk630vkzk0IhmzpbnQdCIomCw/jGiLuJT17 aNzXm6orxQADGZy5QRmTI0T2y9Y9bIuZ7zPguehonyd6GXuCWd2MBkfYojZBnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669341494; 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=j0SU0+nOFAMSsgzrxhHIGS6A5wd/hIyf43HI4S9Q1mc=; b=e4sGiVDz84PJ+pQm3m1kydOGIx4TCk6r8wtxZSAd7FT6hrMDnzdcINO6SFi2h9CzV9UG7E jkzz2CXwMidNjE4jYfWwxj7KxMyNH4OqBRMwRiKghHPz1ak2SvlmHlRREGOonH8S8klZcz Cpxnpv5wUwzGZIP/Kd9J+yByj7AVAZG2WrBqRVjpKlTZzR3mICwt3g03IXha+7a9QKsx7y U4ORUWMt2+rm3SJ6IP2YN11vaodk84nZPFnDs1JI7vDObxJnQYG60SPU5AmZfS0pn3M+02 e8Nmiy1yjh5aQXOWKNuN3tJqBW+OQhtApFPoBQ68iRLNW9/L0lKQ6Yfn8EEdBw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669341494; a=rsa-sha256; cv=none; b=BqxI1uuN4jsDOkN/LknisPQoIgY05/4RGO5jAUdehXGvL/P751gpRYBJ1dNoKcpLYrE2If zJ6BRhNRnmQoCwQUZ1Mg4TlXhtpIoB8IFTlOmlpNZhOS9osB0kpPrsM0Z0/4LnyWCn6aUW OtYucKKXDW0bHrEijZvVaM1P1C6BQb3kBfzPkgt4iu0v9VryC+Ei9hvsPUawQGTdnjWixP j+ljQAIr14AdkehqLsxpH5m7RA5IYWlnYMuWvCMd0RPcoiJ8f8QMf6hOb8+VqqAoFLYF8I UZ56r3qDZ21SHGNIovKdzbJ3oS38m/CkCYuNG64LLrthsOhzqR8xAg8AYPBYdQ== 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 4NJJ122gJfzNTW; Fri, 25 Nov 2022 01:58:14 +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 2AP1wENX033150; Fri, 25 Nov 2022 01:58:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AP1wEX3033149; Fri, 25 Nov 2022 01:58:14 GMT (envelope-from git) Date: Fri, 25 Nov 2022 01:58:14 GMT Message-Id: <202211250158.2AP1wEX3033149@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: 1cd4868d3ca5 - main - security/vuxml: Document HTTP response splitting vulnerability in rubygem-cgi List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 1cd4868d3ca5aa065425d6926064040e3e3fc1f3 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=1cd4868d3ca5aa065425d6926064040e3e3fc1f3 commit 1cd4868d3ca5aa065425d6926064040e3e3fc1f3 Author: Yasuhiro Kimura AuthorDate: 2022-11-24 18:07:27 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-11-25 01:57:40 +0000 security/vuxml: Document HTTP response splitting vulnerability in rubygem-cgi --- security/vuxml/vuln/2022.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/security/vuxml/vuln/2022.xml b/security/vuxml/vuln/2022.xml index 0df7d81961e2..a1bea8a8d18b 100644 --- a/security/vuxml/vuln/2022.xml +++ b/security/vuxml/vuln/2022.xml @@ -1,3 +1,66 @@ + + rubygem-cgi -- HTTP response splitting vulnerability + + + rubygem-cgi + 0.3.4 + + + ruby + 2.7.0,12.7.7,1 + 3.0.0,13.0.5,1 + 3.1.0,13.1.3,1 + 3.2.0.p1,1 + + + ruby27 + 2.7.0,12.7.7,1 + + + ruby30 + 3.0.0,13.0.5,1 + + + ruby31 + 3.1.0,13.1.3,1 + + + ruby32 + 3.2.0.p1,1 + + + + +

Hiroshi Tokumaru reports:

+
+

+ If an application that generates HTTP responses using the + cgi gem with untrusted user input, an attacker can exploit + it to inject a malicious HTTP response header and/or body. +

+

+ Also, the contents for a CGI::Cookie object + were not checked properly. If an application creates a + CGI::Cookie object based on user input, an + attacker may exploit it to inject invalid attributes in + Set-Cookie header. We think such applications + are unlikely, but we have included a change to check + arguments for CGI::Cookie#initialize + preventatively. +

+
+ +
+ + CVE-2021-33621 + https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi-cve-2021-33621/ + + + 2022-11-22 + 2022-11-24 + +
+ zeek -- potential DoS vulnerabilities