GitHub Advisoryadvisory · npm

GHSA-77mv-4rg7-r8qv Potential Sensitive Cookie Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy

MEDIUM Published 2022-06-17 Modified 2022-06-17 Official page ↗
Aliases
CVE-2022-31070
Ecosystem
npm
Packages
@finastra/nestjs-proxy
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-200
Reviewed
2022-06-17

Affected packages

• npm @finastra/nestjs-proxy: < 0.7.0 → fixed in 0.7.0

Description

The nestjs-proxy library did not have a way to block sensitive cookies (e.g. session cookies) from being forwarded to backend services configured by the application developer. This could have led to sensitive cookies being inadvertently exposed to such services that should not see them. The patched version now blocks cookies from being forwarded by default. However developers can configure an allow-list of cookie names by using the `allowedCookies` config setting. Further details of this feature can be found in the library's README on Github or NPM. Patches • 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. Please update your package.json file to use `@finastra/nestjs-proxy` instead. References • https://github.com/Finastra/finastra-nodejs-libs/pull/232 • https://github.com/Finastra/finastra-nodejs-libs/blob/master/libs/proxy/README.md

Related

Alias · CVE (1)

  • CVE-2022-31070 NestJS Proxy is a NestJS module to decorate and proxy calls. vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References