Latest version appears vulnerable to CVE-2021-30246 #1373
Description
We've recently seen an NPM advisory for a critical dependency issue relating to jsrsasign
, https://www.npmjs.com/advisories/1672.
We use release 1.5.4
of oidc-client-js
, and the advisory suggests we update to release 1.11.5
(latest). However, while trying to determine what the impact of this vulnerability was to us, we stubmled across this file https://github.com/IdentityModel/oidc-client-js/blob/dev/jsrsasign/header.js, which suggest that sometime in the past the jsrsasign
dependency was brought "in-house", and at version 8.0.12
(There are commits that suggest this also).
Which would mean that, while the latest version of oidc-client-js
does not have jsrsasign
in its list of dependencies
(And so does not flag dependabot
or npm audit
), it does still depend on it, and on an old version, so it is still vulnerable to this security issue.
Would you agree that is a fair assessment? We are trying to work out what I we need to to stop being vulnerable to this issue.
Activity