ureq-proto is vulnerable to Uncaught Exception
50
CVE Score
Medium
Uncaught Exception
ureq-proto parses HTTP response status lines from the server in try_parse_response; a server that returns a three-digit status below 100, such as 000 or 099, makes StatusCode::from_u16 fail and the parser panic, interrupting the client’s request. Before the fix, try_parse_partial_response also converted invalid status codes to the default 200 OK, although the ureq client only uses this partial parse for redirects and rejects a non-redirect response. The fix in 0.6.2 routes both parser paths through status_code, returning Error::HttpParseFail for invalid codes.
Upgrade the ureq-proto package to version 0.6.2 or later.
You are affected if you are using a version that falls within the vulnerable range and are using the HTTP client library to parse responses from a remote server over the network.
0.4.0 - 0.6.1
Fixed in 0.6.2ureq-proto is vulnerable to Uncaught Exception in versions 0.4.0 - 0.6.1.
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.