truststore is vulnerable to Race Condition (TOCTOU)
74
CVE Score
High
Race Condition (TOCTOU)
truststore's SSLContext runs handshake completion and certificate verification for a shared context without holding its configuration lock for the whole operation on macOS and Windows. Concurrent handshakes on the same SSLContext instance can interleave with another thread's context configuration, so a handshake finishes and reports success while certificate verification is effectively skipped for that connection and can stay disabled for the lifetime of the shared context. The fix holds an RLock for the full configuration, handshake, and verification sequence.
Upgrade the truststore library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you share a single truststore.SSLContext instance across concurrent handshakes on macOS or Windows.
0.0.1 - 0.10.4
Fixed in 0.10.5truststore is vulnerable to Race Condition (TOCTOU) in versions 0.0.1 - 0.10.4.
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.