Subject: CVS commit: [pkgsrc-2019Q4] pkgsrc/security/mbedtls
From: Benny Siegert
Date: 2020-03-08 10:49:18
Message id: 20200308094918.56D0EFB27@cvs.NetBSD.org

Log Message:
Pullup ticket #6140 - requested by nia
security/mbedtls: security fix

Revisions pulled up:
- security/mbedtls/Makefile                                     1.12
- security/mbedtls/PLIST                                        1.6
- security/mbedtls/distinfo                                     1.8

---
   Module Name:    pkgsrc
   Committed By:   nia
   Date:           Sat Feb 29 11:45:02 UTC 2020

   Modified Files:
           pkgsrc/security/mbedtls: Makefile PLIST distinfo

   Log Message:
   mbedtls: Update to 2.16.5

   = mbed TLS 2.16.5 branch released 2020-02-20

   Security
      * Fix potential memory overread when performing an ECDSA signature
        operation. The overread only happens with cryptographically low
        probability (of the order of 2^-n where n is the bitsize of the curve)
        unless the RNG is broken, and could result in information disclosure or
        denial of service (application crash or extra resource consumption).
        Found by Auke Zeilstra and Peter Schwabe, using static analysis.
      * To avoid a side channel vulnerability when parsing an RSA private key,
        read all the CRT parameters from the DER structure rather than
        reconstructing them. Found by Alejandro Cabrera Aldaya and Billy Bob
        Brumley. Reported and fix contributed by Jack Lloyd.
        ARMmbed/mbed-crypto#352

   Bugfix
      * Fix an unchecked call to mbedtls_md() in the x509write module.
      * Fix a bug in mbedtls_pk_parse_key() that would cause it to accept some
        RSA keys that would later be rejected by functions expecting private
        keys. Found by Catena cyber using oss-fuzz (issue 20467).
      * Fix a bug in mbedtls_pk_parse_key() that would cause it to accept some
        RSA keys with invalid values by silently fixing those values.

Files:
RevisionActionfile
1.9.4.1modifypkgsrc/security/mbedtls/Makefile
1.6.4.1modifypkgsrc/security/mbedtls/distinfo