LiveActive security incident?Get immediate response
CVE Record

CVE-2022-31070: Potential Sensitive Cookie 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 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.

MediumCVSS 5.8Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

Some applications using NestJS Proxy could have unintentionally sent sensitive cookies, including session cookies, to backend services that were not supposed to receive them. The maintained @finastra package fixed this in 0.7.0 by blocking cookies by default.

Executive priority

Moderate priority. Prioritize internet-facing or session-bearing applications that use this proxy library, because the business risk is accidental exposure of authentication or session data to unintended backend services.

Technical view

Before @finastra/nestjs-proxy 0.7.0, the library lacked a control to prevent sensitive cookies from being forwarded to developer-configured backend services. The fix blocks cookie forwarding by default and allows explicit cookie names through the allowedCookies setting. The deprecated @ffdc package is not maintained.

Likely exposure

Exposure is likely limited to applications using @finastra/nestjs-proxy before 0.7.0 or deprecated @ffdc/nestjs-proxy, especially where proxied backend services should not receive user cookies.

Exploitation context

The provided sources do not report active exploitation, and the CVE is not in KEV. CVSS indicates local attack vector, high privileges, and user interaction, with potential high confidentiality and integrity impact.

Researcher notes

Focus analysis on dependency version, package lineage, proxy configuration, and whether sensitive cookies traverse trust boundaries. The source bundle names the fix and migration path but does not provide evidence of exploitation in the wild.

Mitigation direction

  • Upgrade @finastra/nestjs-proxy to version 0.7.0 or later.
  • Replace deprecated @ffdc/nestjs-proxy with @finastra/nestjs-proxy.
  • Use allowedCookies only for explicitly required cookie names.
  • Review vendor guidance before changing proxy cookie behavior.

Validation and detection

  • Check package manifests and lockfiles for @finastra/nestjs-proxy versions below 0.7.0.
  • Check for any dependency on deprecated @ffdc/nestjs-proxy.
  • Review proxy configuration for allowedCookies usage.
  • Confirm proxied backend services do not receive unintended cookies.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-200: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-31070 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.8CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N0.65.2Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.8Medium
CVSS 3.1 vector shape for CVE-2022-31070Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Finastrafinastra-nodejs-libs< 0.7.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-200 · source CWE mapping

Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.