openapi-generator icon indicating copy to clipboard operation
openapi-generator copied to clipboard

[csharp] Update restsharp to the latest stable version

Open ondrej-krc-jediny opened this issue 1 year ago • 1 comments

Update RestSharp to the latest stable version (111.4.1). The version 110.2.0 used currently has a dependency on System.Text.Json 7.0.2, which is vulnerable with high severity. The latest stable version 111.4.1 depends on System.Text.Json 8.0.4, that is not vulnerable.

ondrej-krc-jediny avatar Aug 19 '24 07:08 ondrej-krc-jediny

thanks for opening a ticket/issue on this

would you like to contribute a PR to update the version to the latest?

a good reference PR is https://github.com/OpenAPITools/openapi-generator/pull/16122

wing328 avatar Aug 22 '24 07:08 wing328

I think it should be upgraded to 1.112.0 since older versions are vulnerable.

jacobilsoe avatar Aug 30 '24 11:08 jacobilsoe

Thank you @wing328

jacobilsoe avatar Sep 03 '24 07:09 jacobilsoe