UBUNTU-CVE-2023-26136: Critical severity ubuntu/node-tough-cookie vulnerability

Published Jul 1, 2023
·
Updated

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 Software

3 affected componentsFixes available
ubuntu/node-tough-cookie<2.3.2+dfsg-1ubuntu0.1~esm1
2.3.2+dfsg-1ubuntu0.1~esm1
ubuntu/node-tough-cookie<3.0.0-1ubuntu0.1~esm1
3.0.0-1ubuntu0.1~esm1
ubuntu/node-tough-cookie<4.0.0-2ubuntu0.1~esm1
4.0.0-2ubuntu0.1~esm1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 2.3.2+dfsg-1ubuntu0.1~esm1
  2. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 3.0.0-1ubuntu0.1~esm1
  3. Upgrade

    Upgrade ubuntu/node-tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.0.0-2ubuntu0.1~esm1
  4. Upgrade

    Upgrade tough-cookie to a version that resolves this vulnerability.

    Fixed in 4.1.3

Event History

Jul 1, 2023
CVE Published
via OSV·05:15 AM
Data Sourced
via OSV·05:15 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Deployments using tough-cookie versions before 4.1.3 are exposed when CookieJar is configured with rejectPublicSuffixes=false. The provided information does not establish exposure for CookieJar instances using the default or any other configuration.

2

What does an attacker need to exploit the vulnerability?

The issue is network-accessible, requires no privileges, and requires no user interaction according to the supplied severity vector. Exploitation involves improper handling of cookies by CookieJar in rejectPublicSuffixes=false mode.

3

What should be changed to remediate the issue?

Upgrade tough-cookie to version 4.1.3 or later. If an immediate upgrade is not possible, avoid using CookieJar with rejectPublicSuffixes=false.

4

How can I determine whether an application is affected?

Check whether the application uses a tough-cookie version earlier than 4.1.3 and whether any CookieJar instance is configured with rejectPublicSuffixes=false. Both conditions are identified in the provided vulnerability information as relevant to exposure.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203