CVE-2022-31069
HIGH 7.5CVSS 3.1Potential Authorization Header Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy
NestJS Proxy is a NestJS module to decorate and proxy calls. Prior to version 0.7.0, the nestjs-proxy library did not have a way to control when Authorization headers should should be forwarded for specific backend services configured by the application developer. This could have resulted in sensitive information such as OAuth bearer access tokens being inadvertently exposed to such services that should not see them. A new feature has been introduced in the patched version of nestjs-proxy that allows application developers to opt out of forwarding the Authorization headers on a per service basis using the forwardToken config setting. Developers are advised to review the README for this library on Github or NPM for further details on how this configuration can be applied. This issue has been fixed in version 0.7.0 of @finastra/nestjs-proxy. Users of @ffdc/nestjs-proxy are advised that this package has been deprecated and is no longer being maintained or receiving updates. Such users should update their package.json file to use @finastra/nestjs-proxy instead.
- Published
- 15 Jun 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-j562-c3cw-3p5g
- Sources
- NVDJSONOSV GHSA-j562-c3cw-3p5gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | finastra | nestjs-proxycpe:2.3:a:finastra:nestjs-proxy:*:*:*:*:*:node.js:*:* |
< 0.7.0 | 0.7.0 |
| NVD | nestjs-proxy_project | nestjs-proxycpe:2.3:a:nestjs-proxy_project:nestjs-proxy:*:*:*:*:*:node.js:*:* |
<= 0.4.0 | |
| OSV | npm | @finastra/nestjs-proxy | < 0.7.0 | 0.7.0 |
References
- https://github.com/Finastra/finastra-nodejs-libs/pull/231 · Patch, Third Party Advisory, WEB
- https://github.com/Finastra/finastra-nodejs-libs/security/advisories/GHSA-j562-c3cw-3p5g · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31069 · ADVISORY
- https://github.com/Finastra/finastra-nodejs-libs · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Jun 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 Jun 2022)