stripe is vulnerable to Information Disclosure
54
Medium Risk
The Stripe Ruby library's ConnectionManager reuses persistent HTTP connections across requests within a thread. When a request is interrupted by a non-StandardError exception, such as an asynchronous timeout raised via Thread#raise, the connection is left tracked with its response still unread. A later request that reuses that connection reads the abandoned response instead of its own, so it can receive another request's response data. The fix rescues the interruption, removes the connection from tracking, and closes it before re-raising.
You are affected if you are using a version that falls within the vulnerable range and your application interrupts in-flight Stripe requests with a non-StandardError exception, such as a request timeout raised via Thread#raise (for example rack-timeout).
stripe is vulnerable to Information Disclosure in versions 5.0.0 - 19.4.0.
Upgrade the stripe library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant