SecurityContext

CVE-2022-31069: NestJS Proxy - Information Disclosure

  • Cve: CVE-2022-31069
  • Name: NestJS Proxy - Information Disclosure
  • Description: 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.
  • Impact: Sensitive information like OAuth tokens could be inadvertently exposed to backend services, risking token theft or misuse.
  • Remediation: Update to version 0.7.0 of `@finastra/nestjs-proxy` and review the README for proper configuration. Replace deprecated `@ffdc/nestjs-proxy` with `@finastra/nestjs-proxy`.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00776
  • Epss percentile: 0.56747
  • Assignee: [email protected]
  • Published at: 2022-06-15T19:15:11Z
  • Age in days: 1623
  • Modified at: 2026-06-17T04:44:43Z
  • Patch available: yes
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31069
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-200Exposure of Sensitive Information to an Unauthorized Actor

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/Finastra/finastra-nodejs-libs/pull/231nvdPatch, Third Party Advisory
https://github.com/Finastra/finastra-nodejs-libs/security/advisories/GHSA-j562-c3cw-3p5gnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
finastra:nestjs-proxy< 0.7.0nonvd/v1/products/finastra/nestjs-proxy
nestjs-proxy_project:nestjs-proxy<= 0.4.0nonvd/v1/products/nestjs-proxy_project/nestjs-proxy

Projects

RepositoryLink kindsIndexedUrl
finastra/finastra-nodejs-libspackage, pull, security_advisoryyes/v1/repositories/finastra/finastra-nodejs-libs

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, exposed hosts