CVE-2023-35812
OpenSSH vulnerability analysis and mitigation

Overview

An issue was discovered in the Amazon Linux packages of OpenSSH 7.4 for Amazon Linux 1 and 2, identified as CVE-2023-35812. This vulnerability stems from an incomplete fix for a previous vulnerability (CVE-2019-6111). The issue was disclosed on August 3, 2023, affecting OpenSSH packages in Amazon Linux 1 and Amazon Linux 2 distributions (AWS ALAS).

Technical details

The vulnerability exists because the previous fix for CVE-2019-6111 only addressed cases where an absolute path is passed to scp. When a relative path is used, there is no verification that the name of a file received by the client matches the file requested. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N (AWS ALAS).

Impact

The vulnerability could allow an attacker to manipulate file names during SCP (Secure Copy) operations when relative paths are used, potentially leading to unauthorized file modifications (AWS ALAS).

Exploitability

The vulnerability requires network access and user interaction, with high attack complexity as indicated by the CVSS vector. The attack requires no privileges but does need user interaction to be successful (AWS ALAS).

Mitigation and workarounds

Fixed packages have been released with version numbers 7.4p1-22.78.amzn1 for Amazon Linux 1 and 7.4p1-22.amzn2.0.2 for Amazon Linux 2. Users are advised to update to these patched versions (NVD).

Additional resources


SourceThis report was generated using AI

Related OpenSSH vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-60002CRITICAL9.4
  • Rocky Linux logoRocky Linux
  • openssh-debuginfo
NoYesJul 08, 2026
CVE-2026-60001MEDIUM6.5
  • Alma Linux logoAlma Linux
  • openssh-server-config-disallow-rootlogin
NoYesJul 08, 2026
CVE-2026-73282MEDIUM4.8
  • OpenSSH logoOpenSSH
  • openssh
NoYesAug 11, 2026
CVE-2026-73281LOW3.5
  • Alma Linux logoAlma Linux
  • openssh-server
NoYesAug 11, 2026
CVE-2026-73283LOW2.5
  • OpenSSH logoOpenSSH
  • openssh-cavs
NoYesAug 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management