8000 Snyk Reported issue with @okta/jwt-verifier@3.0.0 > njwt@2.0.0 · Issue #106 · jwtk/njwt · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 24, 2026. It is now read-only.
This repository was archived by the owner on Aug 24, 2026. It is now read-only.

Snyk Reported issue with @okta/jwt-verifier@3.0.0 > njwt@2.0.0  #106

Open

Description

@RGanni49

the package @okta/jwt-verifier@3.0.0 is having njwt@2.0.0 as a dependency\

https://www.npmjs.com/package/@okta/jwt-verifier?activeTab=dependencies

snyk has reported an issue with njwt@2.0.0

https://security.snyk.io/vuln/SNYK-JS-NJWT-6861582.

please check the attached image to view the issue reported by snyk.
synk-okta-issue

is there an update that can resolve the issue for okta/jwt-verifier

Activity

  1. dansternfeld1 commented on Jun 11, 2024

    @dansternfeld1

    Looks like @jaredperreault-okta is addressing this in #107
    Thank you, Jared!

  2. nattap0l commented on Jun 12, 2024

    @nattap0l

    Hi i found error when start application

    njwt@2.0.1 is new version update i found error this below from @okta/jwt-verifier@3.0.1

    /var/www/engine/project/node_modules/@okta/jwt-verifier/lib.js:241 
    jwt[methodName] = method.bind({ body: jwtBodyProxy })
    TypeError: Cannot assign to read only property 'setClaim' of object '[object Object]'
    at /var/www/engine/project/node_modules/@okta/jwt-verifier/lib.js:241:29

    Node.js v18.x.x

    @dansternfeld1

  3. dansternfeld1 commented on Jun 12, 2024

    @dansternfeld1

    Hi i found error when start application

    njwt@2.0.1 is new version update i found error this below from @okta/jwt-verifier@3.0.1

    /var/www/engine/project/node_modules/@okta/jwt-verifier/lib.js:241  jwt[methodName] = method.bind({ body: jwtBodyProxy }) TypeError: Cannot assign to read only property 'setClaim' of object '[object Object]' at /var/www/engine/project/node_modules/@okta/jwt-verifier/lib.js:241:29

    Node.js v18.x.x

    @dansternfeld1

    cc @jaredperreault-okta -- see above

  4. jaredperreault-okta commented on Jun 12, 2024

    @jaredperreault-okta
    Contributor

    @nattap0l This has been addressed in @okta/jwt-verifier package directly in version 3.2.1. 3.2.2 was also just released, which includes a fix for the CVE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0