Sensitive Information Exposure in node-eventsource: CVE-2022-1650

node-eventsource Updated 02 Oct 2025

Summary

12/05/2022
N/A
Yes i
Critical
9.3

CVE-2022-1650: Improper Removal of Sensitive Information Before Storage or Transfer in GitHub repository eventsource/eventsource prior to v2.0.2. Affects node-eventsource across 2 version ranges.

< 1.0.7-1+deb11u1 < 10ee0c4881a6ba2fe65ec18ed195ac35889583c4

Fixed in 1.0.7-1+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

node-eventsource is a Node.js package that provides an EventSource interface for server-sent events. It allows developers to easily implement real-time updates in web applications. However, prior to version 2.0.2, the package had a vulnerability that could lead to improper handling of sensitive information, potentially exposing it during storage or transfer.

Vulnerability Detail

CVE-2022-1650 is a vulnerability found in the node-eventsource package, where sensitive information may not be adequately removed before being stored or transferred. This flaw can lead to unauthorized access to sensitive data, which could be exploited by attackers. The vulnerability originates from the package's failure to properly sanitize data, allowing sensitive information to persist in logs or be transmitted insecurely. The CVSS score for this vulnerability is 9.3, indicating a critical level of severity.

How To Fix

Minimum fixed version

1.0.7-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-eventsource

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing logging and monitoring to detect any unauthorized access to sensitive information. Additionally, ensure that sensitive data is encrypted during transfer and storage to mitigate the risk until the package can be updated.

Conclusion

CVE-2022-1650 represents a significant risk for applications using the node-eventsource package due to improper handling of sensitive information. It is crucial for developers to upgrade to the fixed versions promptly to mitigate this risk and protect user data.

See every vulnerability recorded for node-eventsource →

Share this vulnerability

FAQ

CVE-2022-1650 is a vulnerability in the node-eventsource package that allows sensitive information to be improperly handled, potentially leading to data exposure.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The consequences include unauthorized access to sensitive information, which can lead to data breaches and compromise user privacy.

The CVSS score for this vulnerability is 9.3, indicating a critical level of severity that requires immediate attention.

Implement logging and monitoring for unauthorized access and ensure sensitive data is encrypted during transfer and storage as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for node-eventsource.

How To Fix

Minimum fixed version

1.0.7-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade node-eventsource

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback