AsyncHttpClient (AHC) library's `CookieStore` replaces explicitly defined `Cookie`s
AsyncHttpClient async-http-client
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.asynchttpclient:async-http-client Maven |
|
|
Original description
The AsyncHttpClient (AHC) library allows Java applications to easily execute HTTP requests and asynchronously process HTTP responses. When making any HTTP request, the automatically enabled and self-managed CookieStore (aka cookie jar) will silently replace explicitly defined Cookies with any that have the same name from the cookie jar. For services that operate with multiple users, this can result in one user's Cookie being used for another user's requests.
From the CVE record · GitHub_M
References
- github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-mfj5-cf8g-g2fv
- github.com/AsyncHttpClient/async-http-client/issues/1964
- github.com/AsyncHttpClient/async-http-client/pull/2033
- github.com/AsyncHttpClient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53990.json
- nvd.nist.gov/vuln/detail/CVE-2024-53990
- github.com/AsyncHttpClient/async-http-client
- github.com/AsyncHttpClient/async-http-client/blob/main/CHANGES.md#from-20-to-21