GHSA-72xf-g2v4-qvf3

Suggest an improvement
Source
https://github.com/advisories/GHSA-72xf-g2v4-qvf3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-72xf-g2v4-qvf3/GHSA-72xf-g2v4-qvf3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-72xf-g2v4-qvf3
Aliases
Related
Published
2023-07-01T06:30:16Z
Modified
2024-06-21T21:33:53Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
tough-cookie Prototype Pollution vulnerability
Details

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.

References

Affected packages

npm / tough-cookie

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.1.3

Ecosystem specific

{
    "affected_functions": [
        "(tough-cookie).CookieJar.setCookieSync"
    ]
}