PT-2023-4738 · Unknown+2 · Tough-Cookie+2

Kokorin Vsevolod

·

Published

2023-07-01

·

Updated

2026-02-15

·

CVE-2023-26136

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions tough-cookie versions prior to 4.1.3
Description The issue arises from improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode, leading to Prototype Pollution. This vulnerability is related to insufficient control over the modification of dynamically defined object characteristics, which can allow a remote attacker to execute arbitrary JavaScript code.
Recommendations For versions prior to 4.1.3, update to version 4.1.3 or later to resolve the issue. As a temporary workaround, consider disabling the use of CookieJar in rejectPublicSuffixes=false mode until a patch is available. Restrict access to the CookieJar module to minimize the risk of exploitation. Avoid using the rejectPublicSuffixes parameter in the affected CookieJar mode until the issue is resolved.

Exploit

Fix

Prototype Pollution

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

AZL-43684
AZL-44556
BDU:2023-05172
CVE-2023-26136
DLA-3488-1
GHSA-72XF-G2V4-QVF3
MGASA-2024-0080
MGASA-2025-0194
OESA-2023-1930
OESA-2023-1952
RHSA-2023:5484
RHSA-2023:5485
RHSA-2023:5486

Affected Products

Astra Linux
Red Os
Tough-Cookie