CVE-2020-13131: An issue was discovered in Yubico libykpiv before 2.1.0. lib/util.c in this library (which is included in yubico-piv-tool) does not properly check embedded length fields during device communication. A malicious PIV token can misreport the returned length fields during RSA key generation. This will cause stack memory to be copied into heap allocated memory that gets returned to the caller. The leaked memory could include PINs, passwords, key material, and other sensitive information depending on the integration. During further processing by the caller, this information could leak across trust boundaries. Note that RSA key generation is triggered by the host and cannot directly be triggered by the token. CVE-2020-13132: An issue was discovered in Yubico libykpiv before 2.1.0. An attacker can trigger an incorrect free() in the ykpiv_util_generate_key() function in lib/util.c through incorrect error handling code. This could be used to cause a denial of service attack.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0338258449e3bd125f50ea3244c043efc3801dec commit 0338258449e3bd125f50ea3244c043efc3801dec Author: Sebastian Hamann <code@ares-macrotechnology.com> AuthorDate: 2020-08-10 18:05:50 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-08-24 14:38:45 +0000 sys-auth/yubico-piv-tool: Bump to version 2.1.1 Closes: https://bugs.gentoo.org/732000 Signed-off-by: Sebastian Hamann <code@ares-macrotechnology.com> Closes: https://github.com/gentoo/gentoo/pull/17072 Signed-off-by: Joonas Niilola <juippis@gentoo.org> sys-auth/yubico-piv-tool/Manifest | 1 + .../yubico-piv-tool-2.1.1-install-man-page.patch | 29 +++++++++++++++++ .../yubico-piv-tool/yubico-piv-tool-2.1.1.ebuild | 38 ++++++++++++++++++++++ 3 files changed, 68 insertions(+)
Woops.
Needs cleanup.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d790b279143cdc1e60dfada747de6f8d9c70fdf4 commit d790b279143cdc1e60dfada747de6f8d9c70fdf4 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2020-09-06 20:26:10 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2020-09-06 20:27:16 +0000 sys-auth/yubico-piv-tool: remove old Bug: https://bugs.gentoo.org/732000 Signed-off-by: Marek Szuba <marecki@gentoo.org> sys-auth/yubico-piv-tool/Manifest | 1 - .../yubico-piv-tool/yubico-piv-tool-1.6.2.ebuild | 49 ---------------------- 2 files changed, 50 deletions(-)
Thanks!