In libexif, there is a possible out of bounds write due to an integer overflow. This could lead to remote escalation of privilege in the media content provider with no additional execution privileges needed. User interaction is needed for exploitation.
I am not entirely sure if the gentoo is affected. It should be similar to this bug: https://bugs.gentoo.org/701834
Please take also look here:
(In reply to filip ambroz from comment #1)
> I am not entirely sure if the gentoo is affected. It should be similar to
> this bug: https://bugs.gentoo.org/701834
Okay, I think so. I'll call this upstream/ebuild but upstream have not made a release in years so we'll just have to apply the patches.
"exif_entry_get_value in exif-entry.c in libexif 0.6.21 has a divide-by-zero error."
"An issue was discovered in libexif before 0.6.22. Several buffer over-reads in EXIF MakerNote handling could lead to information disclosure and crashes. This is different from CVE-2020-0093."
"An issue was discovered in libexif before 0.6.22. Use of uninitialized memory in EXIF Makernote handling could lead to crashes and potential use-after-free conditions."
"An issue was discovered in libexif before 0.6.22. An unrestricted size in handling Canon EXIF MakerNote data could lead to consumption of large amounts of compute time for decoding EXIF data."
"In exif_data_save_data_entry of exif-data.c, there is a possible out of bounds read due to a missing bounds check. This could lead to local information disclosure with no additional execution privileges needed. User interaction is needed for exploitation."
"A vulnerability was found in libexif. An integer overflow when parsing the MNOTE entry data of the input file. This can cause Denial-of-Service (DoS) and Information Disclosure (disclosing some critical heap chunk metadata, even other applications' private data)."
0.6.22 is out with these fixes (hurray!)
The bug has been referenced in the following commit(s):
Author: Sam James (sam_c) <email@example.com>
AuthorDate: 2020-05-22 05:37:15 +0000
Commit: Thomas Deutschmann <firstname.lastname@example.org>
CommitDate: 2020-06-17 01:00:11 +0000
media-libs/libexif: Security bump to 0.6.22
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sam James (sam_c) <email@example.com>
Signed-off-by: Thomas Deutschmann <firstname.lastname@example.org>
media-libs/libexif/Manifest | 1 +
media-libs/libexif/libexif-0.6.22.ebuild | 49 ++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
arm64 stable already
This issue was resolved and addressed in
GLSA 202007-05 at https://security.gentoo.org/glsa/202007-05
by GLSA coordinator Sam James (sam_c).