Vulnerability · Published Dec 2, 2024 · Assigned by GitHub_M
CVE-2024-53990AsyncHttpClient (AHC) library's `CookieStore` replaces explicitly defined `Cookie`s
Critical 9.2
In plain English
A critical-severity improper authentication in async-http-client from AsyncHttpClient. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | async-http-client | no fix listed | DEBIAN-CVE-2024-53990 |
| Maven | org.asynchttpclient:async-http-client | 2.12.4 | GHSA-mfj5-cf8g-g2fv |
| Maven | org.asynchttpclient:async-http-client | 3.0.1 | GHSA-mfj5-cf8g-g2fv |
| Ubuntu:22.04:LTS | async-http-client | no fix listed | UBUNTU-CVE-2024-53990 |
| Ubuntu:24.04:LTS | async-http-client | no fix listed | UBUNTU-CVE-2024-53990 |
| Ubuntu:25.10 | async-http-client | no fix listed | UBUNTU-CVE-2024-53990 |
| Ubuntu:26.04:LTS | async-http-client | no fix listed | UBUNTU-CVE-2024-53990 |
| Ubuntu:26.10 | async-http-client | no fix listed | UBUNTU-CVE-2024-53990 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| AsyncHttpClient | async-http-client | < 3.0.1 |
Weakness: CWE-287 · Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-mfj5-cf8g-g2fv x_refsource_CONFIRM
- https://github.com/AsyncHttpClient/async-http-client/issues/1964 x_refsource_MISC
- https://github.com/AsyncHttpClient/async-http-client/pull/2033 x_refsource_MISC
- https://github.com/AsyncHttpClient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425 x_refsource_MISC