Skip to content

Upgrade org.asynchttpclient:async-http-client <3.0.1 due to CVE #2372

Closed

Description

@gergelyfabian

async-http-client in versions below 3.0.1 has a new CVE (2 weeks old):

GHSA-mfj5-cf8g-g2fv

sttp depends on this library (even in its newest version).
Unfortunately async-http-client 2.* is not binary compatible with 3.0.1, so it's not possible to upgrade the transitive dependency when using sttp.

Could this be fixed for both client3 and client4?

Activity

  1. adamw commented on Dec 17, 2024

    @adamw
    Member

    I tried working on a PR, however AHC removed reactive-streams support, which means that our streaming integrations top working. This means that modules such as async-http-client-fs2 need to be removed, as they don't make sense.

    At this point, I'm wondering if it's simply not better to switch to another backend and remove AHC altogether?

  2. gergelyfabian commented on Dec 17, 2024

    @gergelyfabian
    Author
  3. gergelyfabian commented on Dec 18, 2024

    @gergelyfabian
    Author

    FYI, the CVE was updated: GHSA-mfj5-cf8g-g2fv
    async-http-client 0.12.4 is not any more affected

  4. gergelyfabian commented on Dec 18, 2024

    @gergelyfabian
    Author

    At this point, I'm wondering if it's simply not better to switch to another backend and remove AHC altogether?
    Thank you. This is exactly what I did. Moved to HttpClient (both for cats-effect and Future). The cats-effect backend is in the cats dependency just for the record (I had a hard time finding it).

    Just for the record finally I moved to OkHttp backend, as with HttpClient there were thread pool issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions