<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-09T17:34:33.185434+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-107719</id>
    <title>fkie_cve-2026-107719</title>
    <updated>2026-10-09T17:34:33.242375+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>fast-jwt provides fast JSON Web Token (JWT) implementation. Prior to 6.3.4, the fast-jwt createVerifier cache can continue accepting a previously valid, signed JWT after its exp time when caching is enabled and the token has exp but no iat. In src/verifier.js, cacheSet derives the exp cache deadline only when iat is present, so the cache falls back to cacheTTL, and a later cache hit returns the saved payload before verifyToken rechecks expiration. An attacker who can replay the same cached bearer token can extend access until the cache entry expires, but cannot forge a token through this issue. This issue is fixed in version 6.3.4.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-107719"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-x937-hj6v-793p</id>
    <title>GHSA-x937-hj6v-793p — fast-jwt: Verifier cache accepts expired JWTs without iat.</title>
    <updated>2026-10-09T17:34:33.242509+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: fast-jwt</p>
<p>### Summary
`cacheSet` only derives its `exp` cache deadline inside `hasIat` (`src/verifier.js:127-140`). JWT `iat` is optional. For a valid token with `exp` but no `iat`, `cacheSet` substitutes `clockTimestamp + clockTolerance + cacheTTL` (`src/verifier.js:142-146`). Later, the cache path returns the saved payload before decoding or invoking `verifyToken` (`src/verifier.js:372-388`). Since expiration validation is in `verifyToken`, the expired token remains accepted until the cache deadline.</p>
<p>### Details
The bug is an expiration-check bypass caused by caching.</p>
<p>Normally, verification works like this:</p>
<p>1. Verify signature.
  2. Check exp against the current time.
  3. Return the JWT claims.</p>
<p>With caching enabled, `fast-jwt` saves successful verification results so it can avoid repeating crypto work for the same token.</p>
<p>The intended invariant is:</p>
<p>&gt; A cached token must stop being accepted at the same time as a non-cached token.</p>
<p>But the cache computes its expiration incorrectly.</p>
<p>In `fast-jwt/src/verifier.js:127`, the code first checks whether the payload has an iat (“issued at”) claim:</p>
<p>```js
const hasIat = payload &amp;&amp; typeof payload.iat === 'number'</p>
<p>if (hasIat) {
  if (!ignoreExpiration &amp;&amp; typeof payload.exp === 'number') {
    cacheValue[2] = payload.exp * 1000 + clockTolerance
  }
}
```</p>
<p>That means `exp` is considered only when `iat` exists.</p>
<p>However, `iat` is optional in JWT. A perfectly valid JWT may contain:</p>
<p>```js
{
    "sub": "alice",
    "exp": 1700000001
}
```…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-x937-hj6v-793p"/>
  </entry>
</feed>
