# GHSA-w4x6-hh3x-wjrx: Stale copy of the public suffix list

> Outdated Public Suffix List allows incorrect cookie scoping, potentially exposing user data across domains.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Dec 2023

## What is GHSA-w4x6-hh3x-wjrx?

GHSA-w4x6-hh3x-wjrx is a vulnerability in Gsemac.Net, published on 11 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

We have identified that this project contains an out-of-date version of the Public Suffix List (https://publicsuffix.org/). We are carrying out research to identify the potential impacts of using old versions of the Public Suffix List, and we intend to publish our results in academic conferences and journals. Our results will become publicly available after 21 days; this provides time to update your project with an up-to-date version of the Public Suffix List.

GitHub repository: gsemac/Gsemac.Common
Public Suffix List path: src/Gsemac.Net/Resources/public_suffix_list.dat

The Public Suffix List is regularly updated (generally a few times per week), and to ensure that the correct privacy boundaries are maintained between websites, applications that use it should routinely fetch an updated copy. If new suffixes are added to the list, and an old list is then used, privacy boundaries will not be constructed correctly, allowing for data (e.g., cookies) to be set incorrectly, potentially harming privacy.

There is further guidance on how the Public Suffix List should be used in ICANN’s “Advisory on the Use of Static TLD / Suffix Lists” at https://www.icann.org/en/system/files/files/sac-070-en.pdf.

If you have any questions about our research, or about usage of the Public Suffix List, please reply via e-mail to [sm@smcquistin.uk](mailto:sm@smcquistin.uk).

## Which versions are affected by GHSA-w4x6-hh3x-wjrx?

2 open source packages ship an affected version, including Gsemac.Net.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `Gsemac.Net` | NuGet | All versions | 0.38.2 |
| `Gsemac.Net` | NuGet | All versions | 0.38.2 |

## How do I fix GHSA-w4x6-hh3x-wjrx?

Upgrade Gsemac.Net to 0.38.2 or later.

## Is GHSA-w4x6-hh3x-wjrx being exploited?

There is no known exploitation of GHSA-w4x6-hh3x-wjrx in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-w4x6-hh3x-wjrx and fix it if it is affected.

What it is: GHSA-w4x6-hh3x-wjrx is a vulnerability in Gsemac.Net, published on 11 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-w4x6-hh3x-wjrx in the wild and no public exploit code.

Affected packages and fixed versions:
- Gsemac.Net (NuGet): affected all versions; fixed in 0.38.2
- Gsemac.Net (NuGet): affected all versions; fixed in 0.38.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-w4x6-hh3x-wjrx/ (Markdown: https://insights.sbomify.com/GHSA-w4x6-hh3x-wjrx/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-w4x6-hh3x-wjrx

---
From sbomify Insights: https://insights.sbomify.com/GHSA-w4x6-hh3x-wjrx/
Summaries are generated and may contain mistakes; the official description above is the record.
