In tnef before 1.4.18, an attacker may be able to write to the victim's .ssh/authorized_keys file via an e-mail message with a crafted winmail.dat application/ms-tnef attachment, because of a heap-based buffer over-read involving strdup.
https://github.com/verdammelt/tnef/pull/40
https://github.com/verdammelt/tnef/compare/1.4.17...1.4.18
https://lists.debian.org/debian-lts-announce/2019/11/msg00035.html
https://usn.ubuntu.com/4524-1/
https://lists.debian.org/debian-lts-announce/2021/08/msg00025.html
Source: MITRE
Published: 2019-11-11
Updated: 2022-04-22
Type: CWE-125
Base Score: 4.3
Vector: AV:N/AC:M/Au:N/C:N/I:N/A:P
Impact Score: 2.9
Exploitability Score: 8.6
Severity: MEDIUM
Base Score: 5.5
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Impact Score: 3.6
Exploitability Score: 1.8
Severity: MEDIUM