# CVE-2022-25165: An issue was discovered in Amazon AWS VPN Client 2.0.0.

- Severity: High 7.0 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-04-14T15:19:00.000Z
- Modified: 2026-06-17T04:33:08.030Z
- Weaknesses: CWE-367
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- amazon aws_client_vpn: 2.0.0

## Every score

- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.9 Medium `AV:L/AC:M/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/RhinoSecurityLabs/CVEs> (exploit, third-party-advisory)
- <https://rhinosecuritylabs.com/aws/cve-2022-25165-aws-vpn-client/> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2022-25165](https://www.cve.org/CVERecord?id=CVE-2022-25165), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2022-25165](https://nvd.nist.gov/vuln/detail/CVE-2022-25165), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-25165 · Whole record: https://cve.day/CVE-2022-25165.json · Rebuilt by cve.day 2026-11-25T22:58:10.638Z
