CVE-2023-38346 Path traversal in n/a

High 8.8 Published Updated

Attackers can exploit improper path handling in tarExtract to traverse directories and access or modify files outside the intended extraction path.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-38346?

CVE-2023-38346 is a high-severity path traversal vulnerability in n/a, published on 22 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Wind River VxWorks 6.9 and 7. The function ``tarExtract`` implements TAR file extraction and thereby also processes files within an archive that have relative or absolute file paths. A developer using the "tarExtract" function may expect that the function will strip leading slashes from absolute paths or stop processing when encountering relative paths that are outside of the extraction path, unless otherwise forced. This could lead to unexpected and undocumented behavior, which in general could result in a directory traversal, and associated unexpected behavior.

Weakness: CWE-22

Which versions are affected by CVE-2023-38346?

It affects 1 product.

Products include Windriver Vxworks.

How do I fix CVE-2023-38346?

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

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-38346 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38346 exists.

Sources

Also known as GHSA-5pr5-788c-3f6c.

Is CVE-2023-38346 in your software?

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

Check your SBOMs for free