Skip to content
OpenAdvisories

Description

Versions of the package tough-cookie before 4.1.3 are vulnerable to Prototype Pollution due to improper handling of Cookies when using CookieJar in rejectPublicSuffixes=false mode. This issue arises from the manner in which the objects are initialized.

Affected products

VendorProductAffectedFixed
— tough-cookie < 4.1.3 4.1.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-tough-cookie 4.1.3+~4.0.2-1 —
Debian 13 node-tough-cookie 4.1.3+~4.0.2-1 —
Debian 12 node-tough-cookie 4.0.0-2+deb12u1 —
Debian 10 node-tough-cookie 2.3.4+dfsg-1+deb10u1 DLA-3488-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS node-tough-cookie No fix yet —
Ubuntu 20.04 LTS node-tough-cookie No fix yet —
Ubuntu 18.04 LTS node-tough-cookie No fix yet —
ReleasePackageFixed inAdvisory
Red Hat JBoss EAP 7 eap7-activemq-artemis +15 2.16.0-15.redhat_00049.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-bouncycastle +5 1.76.0-4.redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hal-console 3.3.19-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-hibernate +4 5.3.31-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-ironjacamar +8 1.5.15-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-marshalling +1 2.0.13-2.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-modules 1.12.2-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-server-migration +2 1.10.0-31.Final_redhat_00030.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-jboss-xnio-base 3.8.10-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-mod_cluster 1.4.5-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-netty +28 4.1.94-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-resteasy +18 3.15.8-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-undertow 2.2.26-1.SP1_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly +4 7.4.13-8.GA_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-elytron +1 1.15.20-1.Final_redhat_00001.1.el7eap RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484
Red Hat JBoss EAP 7 eap7-wildfly-java-jdk17 7.4.13-8.GA_redhat_00001.1.el8eap RHSA-2023:5486, RHSA-2023:5485

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 js-jquery No fix yet —
Azure Linux 2 (CBL-Mariner) js-jquery No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling katib-earlystopping +8 0.19.0-r31 —
Wolfi rolling katib-suggestion-goptuna-compat 0.19.0-r40 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 7 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm tough-cookie < 4.1.3 4.1.3 GHSA-72xf-g2v4-qvf3

Advisories 7

References