From nobody Wed Apr 13 03:04:57 2022 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 AA2E41AF22EA; Wed, 13 Apr 2022 03:04:58 +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 4KdSBL2D2qz4vMN; Wed, 13 Apr 2022 03:04:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649819098; 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=AC30/euPBw/l33h+plaJ53hPLDWqx14alOKvEdiLvV8=; b=EvwnagOaG3UtpRw2Wbsc2I1KEPrayGfEEQ0LbOFTbUhWe080Txe+jwM/k6MEBl3eCRXVEg i7+s0EIUTKZhJksQF8Y9GPItduThRK4M/qP4HZfNMcL8CGYoSIEBgO6lJOAFpd30fpF//N 15KU78A1215DQw7diDB4+CXyCaURmorKDkWneLAuXZXmsQ6MPJZ/ge6rEBtfT2RuklCqdw 3mwywO385M5SxkbZN1fuXxi0WZVAUV/+gvFGbfehd168s03hJMl38HGgv/uDsFLKHUbOxM 0njP74FJHxwdMxG2nGuNq3UDogl+9LuvapchYs1iRJd7WjO/0GKVokUWRU14aQ== 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 C1EB423CB9; Wed, 13 Apr 2022 03:04:57 +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 23D34v6Q054324; Wed, 13 Apr 2022 03:04:57 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23D34v0T054323; Wed, 13 Apr 2022 03:04:57 GMT (envelope-from git) Date: Wed, 13 Apr 2022 03:04:57 GMT Message-Id: <202204130304.23D34v0T054323@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: 0846acd6f709 - main - security/vuxml: Document buffer overrun vulnerability in Ruby 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: 0846acd6f70992724f819cc9e1cdd6c14d07e19f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649819098; 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=AC30/euPBw/l33h+plaJ53hPLDWqx14alOKvEdiLvV8=; b=YMFxK4lH6z1f4vlGFXcTGH+A4QuGv6oW9K5hUdY0u0usjo5klG5IkNH+7TrxiLHHEaQ8ZV b92pxIOzxrnsy1OejP+GQfzEfyhzhvsXOV1CE05cN/jE1ajWFtavZrp2MzOMoy3bXgUTcF Z95BSYCSf1LBjtNlDgdi0fvGslbfRQzCOYUNvTyvG78lnj+iuFQursLy5lEOup4cvlhH9M Of9nWTELvk67pL1IvgzKVjV64DW9GcIANQo2NZpedZJlBp3PpRt5rM983lXH3vB3FfxD1t reY3lQyBNRn5vcYvkr+ulyLIcC/qFZSAbASN/X7kyVYcvMxdGJw5/DDP6j8Jkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649819098; a=rsa-sha256; cv=none; b=f67skTXDgpwTrZRVT4sAyToGskp5dieposnURWKb8JYeSrM72xmhebiStXh3XvuASXjFvg TyExZAwoJUz3RrpS8yFeyB+Wbajyi7eX6gicU9adC754tLvNqxVsVwAnVykN+liJNYL7Pb uOc1nO6iaqzLO5q6hTgooErCD0PMAw+anSa8+v9Kfo4Vvb+96G/eG3PeXkvEMCyiPAkVtX v3rmkkqFWFfwtxtn52XWs6PhVI872j8PcS+fwDl5QSFxcieGAwO5+HjK1iA0/lV29K59Uu kBxYkyKeLa1xvl8CWPLbbrc75BDTdV9eSlgdy1pkJdsQdToYnYHypD1W0En9Sg== 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=0846acd6f70992724f819cc9e1cdd6c14d07e19f commit 0846acd6f70992724f819cc9e1cdd6c14d07e19f Author: Yasuhiro Kimura AuthorDate: 2022-04-13 02:55:50 +0000 Commit: Yasuhiro Kimura CommitDate: 2022-04-13 03:04:10 +0000 security/vuxml: Document buffer overrun vulnerability in Ruby --- security/vuxml/vuln-2022.xml | 47 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/security/vuxml/vuln-2022.xml b/security/vuxml/vuln-2022.xml index a535735eb3a1..538cd330e862 100644 --- a/security/vuxml/vuln-2022.xml +++ b/security/vuxml/vuln-2022.xml @@ -1,3 +1,50 @@ + + Ruby -- Buffer overrun in String-to-Float conversion + + + ruby + 2.7.0,12.7.6,1 + 3.0.0,13.0.4,1 + 3.1.0,13.1.2,1 + + + ruby27 + 2.7.0,12.7.10,1 + + + ruby30 + 3.0.0,13.0.4,1 + + + ruby31 + 3.1.0,13.1.2,1 + + + + +

piao reports:

+
+

+ Due to a bug in an internal function that converts a String + to a Float, some convertion methods like Kernel#Float + and String#to_f could cause buffer over-read. + A typical consequence is a process termination due to + segmentation fault, but in a limited circumstances, it may + be exploitable for illegal memory read. +

+
+ +
+ + CVE-2022-28739 + https://www.ruby-lang.org/en/news/2022/04/12/buffer-overrun-in-string-to-float-cve-2022-28739/ + + + 2022-04-12 + 2022-04-13 + +
+ Ruby -- Double free in Regexp compilation