{"id":"CVE-2022-31070","published":"2022-06-15T19:05:12Z","modified":"2025-04-23T18:13:56Z","title":"Potential Sensitive Cookie Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy","vendor":"Finastra","product":"finastra-nodejs-libs","tier":"tail","description":{"text":"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 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. 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00776,"percentile":0.56718,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/Finastra/finastra-nodejs-libs/security/advisories/GHSA-77mv-4rg7-r8qv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Finastra/finastra-nodejs-libs/pull/232","tags":["x_refsource_MISC"]}],"priority":{"score":15.4,"factors":[{"name":"EPSS percentile","points":11.34},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"finastra","affectedVersions":[{"vendor":"Finastra","product":"finastra-nodejs-libs","versions":["< 0.7.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:52:15.960040Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@finastra/nestjs-proxy","vulnerableRanges":["<0.7.0"],"patched":["0.7.0"],"from":["GHSA-77mv-4rg7-r8qv"],"provenance":"source"}],"summary":{"text":"The NestJS Proxy module in Finastra's finastra-nodejs-libs package, shipped as the npm packages @finastra/nestjs-proxy and @ffdc/nestjs-proxy, failed to block sensitive cookies such as session cookies from being forwarded to backend services configured by the application developer before version 0.7.0. An attacker with local access and high privileges who can get a user to interact with the affected application could expose those sensitive cookies to backend services that should not receive them, with no reliance on a configuration setting to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:32Z"},"euvd":{"id":"EUVD-2022-5976","exploited":false,"provenance":"source"}}