CVE-2022-25165: Amazon Aws Client VPN

High severity, CVSS 7.0. EPSS: 0.5% chance of exploitation in the next 30 days.

An issue was discovered in Amazon AWS VPN Client 2.0.0. A TOCTOU race condition exists during the validation of VPN configuration files. This allows parameters outside of the AWS VPN Client allow list to be injected into the configuration file prior to the AWS VPN Client service (running as SYSTEM) processing the file. Dangerous arguments can be injected by a low-level user such as log, which allows an arbitrary destination to be specified for writing log files. This leads to an arbitrary file write as SYSTEM with partial control over the files content. This can be abused to cause an elevation of privilege or denial of service.

Affected products

  • Amazon Aws Client VPN: version 2.0.0 only

Published 2022-04-14. Last modified 2026-06-17.