Skip to content

Fix CVE in jsonpath-plus (again) #1960

Closed

Description

@soniqua

Describe the bug
The jsonpath-plus dependency contains a critical CVE, even after upgrading to 10.0.0: CVE-2024-21534

The library has been fixed as of version 10.0.7 or higher.

There's an open dependabot PR for resolution.

** Client Version **
0.22.1

Environment (please complete the following information):

  • NodeJS Client

Additional context

Activity

  1. timd73 commented on Oct 22, 2024

    @timd73

    @mstruebing
    Any idea on an ETA for a 0.22.x patch release?

  2. brendandburns commented on Oct 22, 2024

    @brendandburns
    Contributor

    No current eta, but probably within the week. fwiw, this library only uses this library for kubeconfig file loading. If you have malicious JSONPath in your kubeconfig, you have far worse problems than this RCE.

    Also, unless your kubeconfig contains a jsonpath value you're not impacted by this CVE.

  3. timd73 commented on Oct 22, 2024

    @timd73

    @brendandburns thanks for the update/ETA, and for the added info.

    FWIW, I am not concerned about the actual vulnerability, as I'd gathered that it's not truly exploitable. Rather it's about making the vulnerability scanners happy (remind me, do we work for them, or they for us?).

    But good to know about how it impacts this library - thanks again!

  4. brendandburns commented on Oct 31, 2024

    @brendandburns
    Contributor

    @timd73 just pushed 0.22.2 to npm with the revised dependency.

  5. DeveloperAlan commented on Nov 5, 2024

    @DeveloperAlan

    Hey I've noticed in our vulnerability scanners that this issues still persists in the 0.22.2 version of the package.
    Screenshot 2024-11-06 at 10 15 14 am

    Think this package would also need to update the package.json to ^10.1.0 since the scanner looks at the package.json file for vulnerabilities

    Thanks!

  6. mstruebing commented on Nov 6, 2024

    @mstruebing
    Member

    That actually makes sense as it seems like we also don't publish our package-lock.json file.
    I don't think for a library it makes sense to publish a lock file, but in contrast that means we need to update our version ranges.

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