CVE-2022-1249: A NULL pointer dereference flaw was found in pesign's cms_set_pw_data() function of the cms_common.c file. The function fails to handle the NULL pwdata invocation from daemon.c, which leads to an explicit NULL dereference and crash on all attempts to daemonize pesign. Fix in 115: https://github.com/rhboot/pesign/commit/b879dda52f8122de697d145977c285fb0a022d76
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611739f6d355367906a758a61282ecce8ed82f7a commit 611739f6d355367906a758a61282ecce8ed82f7a Author: Sam James <sam@gentoo.org> AuthorDate: 2023-10-04 16:02:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-10-04 16:47:15 +0000 app-crypt/pesign: add 116 Bug: https://bugs.gentoo.org/842228 Bug: https://bugs.gentoo.org/897706 Closes: https://bugs.gentoo.org/892932 Signed-off-by: Sam James <sam@gentoo.org> app-crypt/pesign/Manifest | 1 + app-crypt/pesign/files/pesign-116-no-werror.patch | 11 +++++ app-crypt/pesign/pesign-116.ebuild | 57 +++++++++++++++++++++++ 3 files changed, 69 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d91f6f1d43e4429dfcc2b7cda24cfc0a51df3070 commit d91f6f1d43e4429dfcc2b7cda24cfc0a51df3070 Author: Petr Vaněk <arkamar@gentoo.org> AuthorDate: 2024-12-02 10:47:23 +0000 Commit: Petr Vaněk <arkamar@gentoo.org> CommitDate: 2024-12-02 10:51:49 +0000 app-crypt/pesign: drop 114 Bug: https://bugs.gentoo.org/842228 Bug: https://bugs.gentoo.org/897706 Signed-off-by: Petr Vaněk <arkamar@gentoo.org> app-crypt/pesign/Manifest | 1 - .../pesign/files/pesign-114-format-string.patch | 111 --------------------- app-crypt/pesign/files/pesign-114-no-werror.patch | 13 --- .../files/pesign-114-wanalyzer-diagnostic.patch | 19 ---- app-crypt/pesign/pesign-114.ebuild | 58 ----------- 5 files changed, 202 deletions(-)