Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS03N212LTRyZzctcjhxds4AArtT
Potential Sensitive Cookie Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy
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
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS03N212LTRyZzctcjhxds4AArtT
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 2 years ago
Updated: over 1 year ago
CVSS Score: 5.8
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Identifiers: GHSA-77mv-4rg7-r8qv, CVE-2022-31070
References:
- https://github.com/Finastra/finastra-nodejs-libs/security/advisories/GHSA-77mv-4rg7-r8qv
- https://nvd.nist.gov/vuln/detail/CVE-2022-31070
- https://github.com/Finastra/finastra-nodejs-libs/pull/232
- https://github.com/advisories/GHSA-77mv-4rg7-r8qv
Blast Radius: 5.2
Affected Packages
npm:@finastra/nestjs-proxy
Dependent packages: 2Dependent repositories: 8
Downloads: 1,915 last month
Affected Version Ranges: < 0.7.0
Fixed in: 0.7.0
All affected versions: 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.5.3, 0.6.0
All unaffected versions: 0.7.0, 0.7.1