From owner-svn-ports-head@freebsd.org Tue Jul 7 11:49:49 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3EBE635F4DB; Tue, 7 Jul 2020 11:49:49 +0000 (UTC) (envelope-from tijl@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B1LMd0zryz4T9B; Tue, 7 Jul 2020 11:49:49 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05C03EDB9; Tue, 7 Jul 2020 11:49:49 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 067Bnm9O000347; Tue, 7 Jul 2020 11:49:48 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 067Bnm4b000346; Tue, 7 Jul 2020 11:49:48 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <202007071149.067Bnm4b000346@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Tue, 7 Jul 2020 11:49:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r541413 - head/security/vuxml X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: head/security/vuxml X-SVN-Commit-Revision: 541413 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2020 11:49:49 -0000 Author: tijl Date: Tue Jul 7 11:49:48 2020 New Revision: 541413 URL: https://svnweb.freebsd.org/changeset/ports/541413 Log: Document Mbed TLS security advisory 2020-07. Security: https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07 Modified: head/security/vuxml/vuln.xml Modified: head/security/vuxml/vuln.xml ============================================================================== --- head/security/vuxml/vuln.xml Tue Jul 7 11:47:18 2020 (r541412) +++ head/security/vuxml/vuln.xml Tue Jul 7 11:49:48 2020 (r541413) @@ -58,6 +58,44 @@ Notes: * Do not forget port variants (linux-f10-libxml2, libxml2, etc.) --> + + Mbed TLS -- Side-channel attack on ECC key import and validation + + + mbedtls + 2.16.7 + + + + +

Manuel Pégourié-Gonnard reports:

+
+

The scalar multiplication function in Mbed TLS accepts a random + number generator (RNG) as an optional argument and, if provided, + uses it to protect against some attacks.

+

It is the caller's responsibility to provide a RNG if protection + against side-channel attacks is desired; however two groups of + functions in Mbed TLS itself fail to pass a RNG:

+
    +
  1. mbedtls_pk_parse_key() and mbedtls_pk_parse_keyfile()
  2. +
  3. mbedtls_ecp_check_pub_priv() and mbedtls_pk_check_pair()
  4. +
+

When those functions are called, scalar multiplication is computed + without randomisation, a number of old and new attacks apply, + allowing a powerful local attacker to fully recover the private + key.

+
+ +
+ + https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-07 + + + 2020-07-01 + 2020-07-07 + +
+ Gitlab -- Multiple Vulnerabilities