CVE-2022-31070: Potential Sensitive Cookie Exposure in NPM Packages @finastra/nestjs-proxy, @ffdc/nestjs-proxy

Published Jun 15, 2022
·
Updated

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.

Affected Software

2 affected components
finastra Nestjs-proxy Node.js<0.7.0
Nestjs-proxy Project Nestjs-proxy Node.js<=0.4.0

Event History

Jun 15, 2022
CVE Published
via MITRE·07:05 PM
Data Sourced
via MITRE·07:05 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-31070?

CVE-2022-31070 has a moderate severity rating due to the risk of sensitive cookies being improperly forwarded.

2

How do I fix CVE-2022-31070?

To fix CVE-2022-31070, upgrade to version 0.7.0 or later of the nestjs-proxy library.

3

What types of cookies are affected by CVE-2022-31070?

CVE-2022-31070 affects sensitive cookies such as session cookies that can be forwarded to backend services.

4

Which versions of nestjs-proxy are vulnerable to CVE-2022-31070?

Versions of nestjs-proxy prior to 0.7.0 and up to 0.4.0 are vulnerable to CVE-2022-31070.

5

Is CVE-2022-31070 exploited in the wild?

As of now, there is no public evidence indicating that CVE-2022-31070 is actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203