CVE-2022-25165 Race condition in n/a

High 7.0 Published Updated

A race condition in AWS VPN Client allows local attackers to inject arguments, leading to arbitrary file writes as SYSTEM and potential privilege escalation.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-25165?

CVE-2022-25165 is a high-severity vulnerability in n/a, published on 14 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-367

Which versions are affected by CVE-2022-25165?

It affects 1 product.

Products include Amazon Aws Client Vpn.

How do I fix CVE-2022-25165?

No fix has been published for CVE-2022-25165 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-25165 being exploited?

There is no known exploitation of CVE-2022-25165 in the wild and no public exploit code.

Sources

Also known as GHSA-v46m-w3jc-vmr2.

Is CVE-2022-25165 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free