pyodata is vulnerable to Server-Side Request Forgery (SSRF)
59
Medium Risk
The OData v2 client in pyodata.v2.service follows the server-provided __next pagination URL verbatim without comparing it against the configured service root. A malicious or compromised OData endpoint can return a __next value pointing at an arbitrary host, and the client resends every header set on the shared requests.Session, including Authorization bearer tokens and cookies, to that host. This exposes session credentials to a third-party server and lets the response be parsed and surfaced to application code as attacker-influenced entities. The fix rejects cross-origin __next URLs before dispatching the pagination request.
You are affected if you are using a version that falls within the vulnerable range and your application sets authentication headers on the requests.Session passed to the client and follows server-side __next pagination against an untrusted or compromised OData endpoint.
pyodata is vulnerable to Server-Side Request Forgery (SSRF) in versions 1.1.1 - 1.11.2.
Upgrade the pyodata 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