cxf-rt-ws-security is vulnerable to Race Condition
75
CVE Score
High
Race Condition
STSTokenValidator kept one STSSamlAssertionValidator in a field shared by all requests and trusted its recorded signature-verification result, so a remote unauthenticated client could send a forged SAML assertion that was accepted as trusted while a concurrent legitimate request was being validated, without the assertion ever reaching the STS. This only happens when a service validates inbound SAML tokens with STSTokenValidator and leaves alwaysValidateToSts unset. The fix constructs a new STSSamlAssertionValidator for each request, so no verification state is shared.
Upgrade the cxf-rt-ws-security package to a patch version.
You are affected if you are using a version that falls within the vulnerable range and configure STSTokenValidator for inbound SAML tokens without alwaysValidateToSts set, exposing it to unauthenticated remote clients.
2.0.6 - 3.6.12
Fixed in 3.6.134.0.0 - 4.1.8
Fixed in 4.1.94.2.0 - 4.2.3
Fixed in 4.2.4cxf-rt-ws-security is vulnerable to Race Condition in versions 2.0.6 - 3.6.12, 4.0.0 - 4.1.8 and 4.2.0 - 4.2.3.
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.