Description
NodeJS Tough-Cookie version 2.2.2 contains a Regular Expression Parsing vulnerability in HTTP request Cookie Header parsing that can result in Denial of Service. This attack appear to be exploitable via Custom HTTP header passed by client. This vulnerability appears to have been fixed in 2.3.0.
Remediation
References
https://www.npmjs.com/advisories/130
https://www.ibm.com/blogs/psirt/ibm-security-bulletin-ibm-api-connect-is-affected-by-node-js-tough-cookie-module-vulnerability-to-a-denial-of-service-cve-2016-1000232/
https://github.com/salesforce/tough-cookie/commit/e4fc2e0f9ee1b7a818d68f0ac7ea696f377b1534
https://github.com/salesforce/tough-cookie/commit/615627206357d997d5e6ff9da158997de05235ae
https://access.redhat.com/security/cve/cve-2016-1000232
https://access.redhat.com/errata/RHSA-2017:2912
https://access.redhat.com/errata/RHSA-2016:2101
Related Vulnerabilities
CVE-2021-22147 Vulnerability in maven package org.elasticsearch:elasticsearch
CVE-2022-22138 Vulnerability in npm package fast-string-search
CVE-2023-30520 Vulnerability in maven package org.jenkins-ci.plugins:quayio-trigger
CVE-2019-17352 Vulnerability in maven package com.jfinal:jfinal
CVE-2018-1000096 Vulnerability in npm package tiny-json-http