rustls is vulnerable to Incorrect Permission Assignment for Critical Resource
55
CVE Score
Medium
Incorrect Permission Assignment for Critical Resource
On Unix, the SSLKEYLOGFILE file opens with the process's default permissions, subject to the umask, when SSLKEYLOGFILE is set to capture TLS secrets for debugging. A permissive umask leaves the file group- or world-readable, so another local user on the same host can read the TLS master secret or resumption PSK for every logged connection. The patch opens the file with explicit mode 0600 on Unix so only the owner can read it.
Upgrade the rustls library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you set the SSLKEYLOGFILE environment variable to log TLS secrets on a Unix system with a permissive default umask.
0.1.0 - 0.23.43
Fixed in 0.23.44rustls is vulnerable to Incorrect Permission Assignment for Critical Resource in versions 0.1.0 - 0.23.43.
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.