Kyndryl-open-source hashi-vault-js
hashi-vault-js has a path traversal and query parameter injection
hashi-vault-js is a Node.js module for interacting with the HashiCorp Vault API. Prior to 0.5.2, src/Vault.js concatenates unencoded identifier values including name, username, group, role, and version into Vault request paths and query strings instead of using encodeURIComponent() and URLSearchParams, allowing path traversal and query parameter injection. This issue is fixed in version 0.5.2.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-23
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
kyndryl-open-source hashi-vault-js
- < 0.5.2
Fixed in 0.5.2
Mitigation
Upgrade hashi-vault-js to 0.5.2 or later.
References
- Vendor advisory github.com/kyndryl-open-source/hashi-vault-js/…
- Patch github.com/kyndryl-open-source/hashi-vault-js/…
- Patch github.com/kyndryl-open-source/hashi-vault-js/…
1 more
- Release notes github.com/kyndryl-open-source/hashi-vault-js/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.