<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Wed, 30 Sep 2026 05:47:23 +0000</lastBuildDate>
    <item>
      <title>GHSA-g8m3-5g58-fq7m — undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching</title>
      <link>https://db.gcve.eu/vuln/ghsa-g8m3-5g58-fq7m</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: undici&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;When undici parses a `Set-Cookie` header, it accepts any `SameSite` attribute value that contains `Strict`, `Lax`, or `None` as a substring, rather than the case-insensitive exact match specified by RFC 6265. Non-spec values are silently mapped to one of the three standard tokens:&lt;/p&gt;
&lt;p&gt;- `SameSite=NoneOfYourBusiness` is parsed as `None`, the most permissive setting.
- `SameSite=StrictLax` is parsed as `Lax`, a downgrade from `Strict`.&lt;/p&gt;
&lt;p&gt;Affected applications are those that consume `Set-Cookie` headers from server responses (for example via undici&amp;#39;s `fetch` or proxy code paths) and then forward or rely on the parsed `sameSite` attribute. A malicious or non-compliant server can coerce the consumer&amp;#39;s view of a cookie&amp;#39;s SameSite policy to a weaker value, silently degrading the SameSite enforcement the cookie is supposed to provide.&lt;/p&gt;
&lt;p&gt;This was introduced in undici 5.15.0 when the cookies feature was added.&lt;/p&gt;
&lt;p&gt;## Patches&lt;/p&gt;
&lt;p&gt;Upgrade to undici v6.27.0, v7.28.0 or v8.5.0.&lt;/p&gt;
&lt;p&gt;## Workarounds&lt;/p&gt;
&lt;p&gt;After parsing a `Set-Cookie` header, validate that the resulting `sameSite` attribute is one of `&amp;#39;Strict&amp;#39;`, `&amp;#39;Lax&amp;#39;`, or `&amp;#39;None&amp;#39;` (exact, case-insensitive) before forwarding or relying on it.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: undici&lt;/p&gt;
&lt;p&gt;## Impact&lt;/p&gt;
&lt;p&gt;When undici parses a `Set-Cookie` header, it accepts any `SameSite` attribute value that contains `Strict`, `Lax`, or `None` as a substring, rather than the case-insensitive exact match specified by RFC 6265. Non-spec values are silently mapped to one of the three standard tokens:&lt;/p&gt;
&lt;p&gt;- `SameSite=NoneOfYourBusiness` is parsed as `None`, the most permissive setting.
- `SameSite=StrictLax` is parsed as `Lax`, a downgrade from `Strict`.&lt;/p&gt;
&lt;p&gt;Affected applications are those that consume `Set-Cookie` headers from server responses (for example via undici&amp;#39;s `fetch` or proxy code paths) and then forward or rely on the parsed `sameSite` attribute. A malicious or non-compliant server can coerce the consumer&amp;#39;s view of a cookie&amp;#39;s SameSite policy to a weaker value, silently degrading the SameSite enforcement the cookie is supposed to provide.&lt;/p&gt;
&lt;p&gt;This was introduced in undici 5.15.0 when the cookies feature was added.&lt;/p&gt;
&lt;p&gt;## Patches&lt;/p&gt;
&lt;p&gt;Upgrade to undici v6.27.0, v7.28.0 or v8.5.0.&lt;/p&gt;
&lt;p&gt;## Workarounds&lt;/p&gt;
&lt;p&gt;After parsing a `Set-Cookie` header, validate that the resulting `sameSite` attribute is one of `&amp;#39;Strict&amp;#39;`, `&amp;#39;Lax&amp;#39;`, or `&amp;#39;None&amp;#39;` (exact, case-insensitive) before forwarding or relying on it.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-g8m3-5g58-fq7m</guid>
    </item>
  </channel>
</rss>
