sttp icon indicating copy to clipboard operation
sttp copied to clipboard

async-http-client Netty v4.1.60.Final vulnerabilities

Open paoloboni opened this issue 3 years ago • 1 comments

Hi, If I read correctly the dependency tree, async-http-client-backend currently depends on async-http-client v2.12.3, which pulls netty-codec v4.1.60.Final, which according to Sonatype Lift is subject to the following vulnerabilities:

Those are high severity vulnerabilities that should be fixed in async-http-client, but it looks like it's no longer getting updated, at least in the last year or so.

paoloboni avatar Sep 16 '22 07:09 paoloboni

I suppose since AHC is no longer maintained, we should depracte the client. And remove its usages from examples. What do you think, @Pask423 ?

adamw avatar Sep 21 '22 06:09 adamw

Great idea, but I would leave an example anyway - just in case.

Pask423 avatar Oct 05 '22 14:10 Pask423

I'm against leaving the examples because even if we would add a big, bold, shouting "IT'S DEPRECATED" note, a number of people would not notice it, starting using it thinking, that it is ok... but it is not ok. If magically AsyncHttpClient would be updated, we can always revert these changes. What do you think?

rafalambrozewicz avatar Oct 06 '22 07:10 rafalambrozewicz

Apologies for posting on a closed issue, but is there a recommended upgrade path to move off the deprecated module?

zendesk-thomas-hammond avatar Nov 30 '22 03:11 zendesk-thomas-hammond

@zendesk-thomas-hammond yes, I'd recommend using HttpClient-based clients, they have minimal dependencies (as the jdk includes the base client) and work well

adamw avatar Nov 30 '22 11:11 adamw