Описание
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.
A flaw was found in the AsyncHttpClient (AHC) library. When making any HTTP request, the automatically enabled and self-managed CookieStore will silently replace explicitly defined cookies with any that have the same name from the CookieStore. For services that operate with multiple users, this can result in one user's cookie being used for another user's requests.
Меры по смягчению последствий
Users may bypass this issue by disabling the CookieStore upon client creation: DefaultAsyncHttpClientConfig.Builder clientBuilder = Dsl.config().setCookieStore(null)
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat build of Apache Camel 4 for Quarkus 3 | org.asynchttpclient/async-http-client | Not affected | ||
| Red Hat Build of Keycloak | org.asynchttpclient/async-http-client | Not affected | ||
| Red Hat build of Quarkus | org.asynchttpclient/async-http-client | Not affected | ||
| Red Hat Fuse 7 | org.asynchttpclient/async-http-client | Out of support scope | ||
| Red Hat Integration Camel K 1 | org.asynchttpclient/async-http-client | Will not fix | ||
| Red Hat JBoss Data Grid 7 | org.asynchttpclient/async-http-client | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 7 | async-http-client | Not affected | ||
| Red Hat JBoss Enterprise Application Platform 8 | async-http-client | Not affected | ||
| Red Hat JBoss Enterprise Application Platform Expansion Pack | async-http-client | Not affected | ||
| Red Hat build of Apache Camel 4.8.3 for Spring Boot | org.asynchttpclient/async-http-client | Fixed | RHSA-2025:1078 | 05.02.2025 |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
8.1 High
CVSS3
Связанные уязвимости
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.
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.
The AsyncHttpClient (AHC) library allows Java applications to easily e ...
AsyncHttpClient (AHC) library's `CookieStore` replaces explicitly defined `Cookie`s
Уязвимость класса RequestBuilder интерфейса CookieStore асинхронной библиотеки обработки HTTP-запросов Async Http Client, позволяющая нарушителю получить несанкционированный доступ к защищаемой информации
8.1 High
CVSS3