{"id":"CVE-2024-53990","summary":"AsyncHttpClient (AHC) library's `CookieStore` replaces explicitly defined `Cookie`s","details":"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.","aliases":["GHSA-mfj5-cf8g-g2fv"],"modified":"2026-08-18T16:28:50.676851Z","published":"2024-12-02T17:10:28.229Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-287"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53990.json"},"references":[{"type":"ADVISORY","url":"https://github.com/AsyncHttpClient/async-http-client/security/advisories/GHSA-mfj5-cf8g-g2fv"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53990.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53990"},{"type":"REPORT","url":"https://github.com/AsyncHttpClient/async-http-client/issues/1964"},{"type":"FIX","url":"https://github.com/AsyncHttpClient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425"},{"type":"FIX","url":"https://github.com/AsyncHttpClient/async-http-client/pull/2033"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/asynchttpclient/async-http-client","events":[{"introduced":"0"},{"fixed":"d5a83362f7aed81b93ebca559746ac9be0f95425"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"3.0.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["async-http-client-project-2.12.3","async-http-client-project-3.0.0","async-http-client-project-3.0.0.Beta3","async-http-client-project-3.0.0.Beta2","async-http-client-project-2.12.2","async-http-client-project-2.12.1","async-http-client-project-2.12.0","async-http-client-project-2.11.0","async-http-client-project-2.10.5","async-http-client-project-2.10.4","async-http-client-project-2.10.3","async-http-client-project-2.10.2","async-http-client-project-2.10.1","async-http-client-project-2.10.0","async-http-client-project-2.9.0","async-http-client-project-2.8.1","async-http-client-project-2.8.0","async-http-client-project-2.7.0","async-http-client-project-2.6.0","async-http-client-project-2.5.4","async-http-client-project-2.5.3","async-http-client-project-2.5.2","async-http-client-project-2.5.1","async-http-client-project-2.5.0","async-http-client-project-2.4.9","async-http-client-project-2.4.8","async-http-client-project-2.4.7","async-http-client-project-2.4.6","async-http-client-project-2.4.5","async-http-client-project-2.4.4","async-http-client-project-2.4.3","async-http-client-project-2.4.2","async-http-client-project-2.4.1","async-http-client-project-2.4.0","async-http-client-project-2.3.0","async-http-client-project-2.2.1","async-http-client-project-2.2.0","async-http-client-project-2.1.2","async-http-client-project-2.1.1","async-http-client-project-2.1.0","async-http-client-project-2.1.0-RC4","async-http-client-project-2.1.0-RC3","async-http-client-project-2.1.0-RC2","async-http-client-project-2.1.0-RC1","async-http-client-project-2.1.0-alpha26","async-http-client-project-2.1.0-alpha25","async-http-client-project-2.1.0-alpha24","async-http-client-project-2.1.0-alpha23","async-http-client-project-2.1.0-alpha22","async-http-client-project-2.1.0-alpha21","async-http-client-project-2.1.0-alpha20","async-http-client-project-2.1.0-alpha19","async-http-client-project-2.1.0-alpha18","async-http-client-project-2.1.0-alpha17","async-http-client-project-2.1.0-alpha16","async-http-client-project-2.1.0-alpha15","async-http-client-project-2.1.0-alpha14","async-http-client-project-2.1.0-alpha13","async-http-client-project-2.1.0-alpha12","async-http-client-project-2.1.0-alpha11","async-http-client-project-2.1.0-alpha10","async-http-client-project-2.1.0-alpha9","async-http-client-project-2.1.0-alpha8","async-http-client-project-2.1.0-alpha7","async-http-client-project-2.1.0-alpha6","async-http-client-project-2.1.0-alpha5","async-http-client-project-2.1.0-alpha4","async-http-client-project-2.1.0-alpha3","async-http-client-project-2.1.0-alpha2","async-http-client-project-2.0.24","async-http-client-project-2.0.23","async-http-client-project-2.0.22","async-http-client-project-2.0.21","async-http-client-project-2.0.20","async-http-client-project-2.0.19","async-http-client-project-2.0.18","async-http-client-project-2.0.17","async-http-client-project-2.0.16","async-http-client-project-2.0.15","async-http-client-project-2.0.14","async-http-client-project-2.0.13","async-http-client-project-2.0.12","async-http-client-project-2.0.11","async-http-client-project-2.0.10","async-http-client-project-2.0.9","async-http-client-project-2.0.8","async-http-client-project-2.0.7","async-http-client-project-2.0.6","async-http-client-project-2.0.5","async-http-client-project-2.0.4","async-http-client-project-2.0.3","async-http-client-project-2.0.2","async-http-client-project-2.0.1","async-http-client-project-2.0.0","async-http-client-project-2.0.0-RC21","async-http-client-project-2.0.0-RC20","async-http-client-project-2.0.0-RC19","async-http-client-project-2.0.0-RC18","async-http-client-project-2.0.0-RC17","async-http-client-project-2.0.0-RC16","async-http-client-project-2.0.0-RC15","async-http-client-project-2.0.0-RC14","async-http-client-project-2.0.0-RC13","async-http-client-project-2.0.0-RC12","async-http-client-project-2.0.0-RC11","async-http-client-project-2.0.0-RC10","async-http-client-project-2.0.0-RC9","async-http-client-project-2.0.0-RC8","async-http-client-project-2.0.0-RC7","async-http-client-project-2.0.0-RC6","async-http-client-project-2.0.0-RC5","async-http-client-project-2.0.0-RC4","async-http-client-project-2.0.0-RC3","async-http-client-project-2.0.0-RC2","async-http-client-project-2.0.0-RC1","async-http-client-project-2.0.0-alpha27","async-http-client-project-2.0.0-alpha26","async-http-client-project-2.0.0-alpha25","async-http-client-project-2.0.0-alpha24","async-http-client-project-2.0.0-alpha23","async-http-client-project-2.0.0-alpha22","async-http-client-project-2.0.0-alpha21","async-http-client-project-2.0.0-alpha20","async-http-client-project-2.0.0-alpha19","async-http-client-project-2.0.0-alpha18","async-http-client-project-2.0.0-alpha17","async-http-client-project-2.0.0-alpha16","async-http-client-project-2.0.0-alpha15","async-http-client-project-2.0.0-alpha14","async-http-client-project-2.0.0-alpha13","async-http-client-project-2.0.0-alpha12","async-http-client-project-2.0.0-alpha11","async-http-client-project-2.0.0-alpha10","async-http-client-project-2.0.0-alpha9","2.0.0-alpha8","2.0.0-alpha7","2.0.0-alpha6","2.0.0-alpha5","2.0.0-alpha4","2.0.0-alpha3","2.0.0-alpha2","2.0.0-alpha1","async-http-client-1.7.4","async-http-client-1.7.3","async-http-client-1.7.2","async-http-client-1.7.1","async-http-client-1.7.0","async-http-client-1.6.3","async-http-client-1.6.2","async-http-client-1.6.1","async-http-client-1.6.0","async-http-client-1.5.0","async-http-client-1.4.1","async-http-client-1.4.0","async-http-client-1.3.2","async-http-client-1.3.1","async-http-client-1.3.0","async-http-client-1.2.0","async-http-client-1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53990.json","vanir_signatures_modified":"2026-08-18T16:28:50Z","vanir_signatures":[{"source":"https://github.com/asynchttpclient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425","target":{"file":"client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java"},"deprecated":false,"digest":{"line_hashes":["89364639733104172303077279401094521485","71728498212484712284762572455074637480","162094579807142438211374601504890125924","188442071172106863294912674228993434931","312662692613689859047446907143873261326","142764720608450983657888698709791079083","172948414197718517854851303152669835358","339463896283907576535394226827636547514"],"threshold":0.9},"id":"CVE-2024-53990-4248fa27","signature_type":"Line","signature_version":"v1"},{"id":"CVE-2024-53990-58697670","signature_type":"Line","signature_version":"v1","source":"https://github.com/asynchttpclient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425","target":{"file":"client/src/main/java/org/asynchttpclient/RequestBuilderBase.java"},"deprecated":false,"digest":{"line_hashes":["42319941331989256746855119622765853834","1147199176480924669394987264639698383","284964659656326249430658130110110639084","62757911383558406288423346365925908578","68222309153604008189236379156346309715","157270353935210058672974972543268034414","321222744138090273028586223228708182142","49830055166533394636851062624759188919","271227325336659254472455946595752842555","101450216535180017525861258818692362220","132898359213864211616280843590635593290"],"threshold":0.9}},{"target":{"file":"client/src/main/java/org/asynchttpclient/netty/handler/intercept/Redirect30xInterceptor.java","function":"exitAfterHandlingRedirect"},"deprecated":false,"digest":{"function_hash":"269050877961747224102580617985076195643","length":2712},"id":"CVE-2024-53990-b35bcf0e","signature_type":"Function","signature_version":"v1","source":"https://github.com/asynchttpclient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425"},{"deprecated":false,"digest":{"function_hash":"185978001501811403882336905809746852930","length":341},"id":"CVE-2024-53990-ccbb1ede","signature_type":"Function","signature_version":"v1","source":"https://github.com/asynchttpclient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425","target":{"file":"client/src/main/java/org/asynchttpclient/RequestBuilderBase.java","function":"addOrReplaceCookie"}},{"digest":{"line_hashes":["55454976975578536508012023846227099839","175869723070974309632091391301044622236","92307958823392482907320482361098584414","291783294403749461348574910271149935517"],"threshold":0.9},"id":"CVE-2024-53990-d396bf2e","signature_type":"Line","signature_version":"v1","source":"https://github.com/asynchttpclient/async-http-client/commit/d5a83362f7aed81b93ebca559746ac9be0f95425","target":{"file":"client/src/main/java/org/asynchttpclient/DefaultAsyncHttpClient.java"},"deprecated":false}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}