In Nim 1.2.4, the standard library httpClient fails to properly validate the server response. For example, httpClient.get().contentLength() does not raise any error if a malicious server provides a negative Content-Length.
{ "binaries": [ { "binary_version": "0.12.0-2", "binary_name": "nim" } ] }
{ "binaries": [ { "binary_version": "0.17.2-1ubuntu2", "binary_name": "nim" } ] }
{ "binaries": [ { "binary_version": "1.0.6-1", "binary_name": "nim" } ] }