In OpenSSH 7.9, due to accepting and displaying arbitrary stderr output from the server, a malicious server (or Man-in-The-Middle attacker) can manipulate the client output, for example to use ANSI control codes to hide additional files being transferred.
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c
https://cvsweb.openbsd.org/src/usr.bin/ssh/progressmeter.c
https://www.exploit-db.com/exploits/46193/
https://security.netapp.com/advisory/ntap-20190213-0001/
https://security.gentoo.org/glsa/201903-16
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
Source: MITRE
Published: 2019-01-31
Updated: 2023-02-23
Type: CWE-838
Base Score: 4
Vector: AV:N/AC:H/Au:N/C:P/I:P/A:N
Impact Score: 4.9
Exploitability Score: 4.9
Severity: MEDIUM
Base Score: 6.8
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Impact Score: 5.2
Exploitability Score: 1.6
Severity: MEDIUM