async-http-client is vulnerable to UNIX Symbolic Link (Symlink) Following
58
CVE Score
Medium
UNIX Symbolic Link (Symlink) Following
Before the fix, decorating another AsyncHandler with ResumableAsyncHandler made the client store its download index at the fixed shared path $java.io.tmpdir/ahc/ResumableAsyncHandler.properties with default permissions and link-following file operations. Any local user sharing the temp directory could read the store and see download URLs with embedded userinfo or query tokens, and could plant a symlink that the client's save followed, truncating a file of their choice. The no-argument constructors use a no-op processor and never touch the filesystem. The fix creates the directory and store owner-only, recreates the file with exclusive creation after deleting any existing entry, and reads it without following symbolic links.
Upgrade the org.asynchttpclient:async-http-client package to a fixed release on your branch: 3.0.12, 2.16.1.
You are affected if you are using a version that falls within the vulnerable range and decorate an AsyncHandler with ResumableAsyncHandler on a host whose temp directory is shared with other local users.
2.0.0 - 2.16.0
Fixed in 2.16.13.0.0 - 3.0.11
Fixed in 3.0.12async-http-client is vulnerable to UNIX Symbolic Link (Symlink) Following in versions 3.0.0 - 3.0.11 and 2.0.0 - 2.16.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.