HTTP Handling Vulnerability in @tomphttp/bare-server-node

@tomphttp/bare-server-node Updated 02 Oct 2025

Summary

05/03/2024
Yes i
Critical
9.8

CVE-2024-27922: HTTP Handling Vulnerability in the Bare server. Affects @tomphttp/bare-server-node versions < 2.0.2. Fixed in 2.0.2. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The @tomphttp/bare-server-node package is a popular npm package used for handling HTTP requests in web applications. It provides a lightweight and efficient server implementation for Node.js applications. The package is widely used in various systems and can be integrated into different frameworks and libraries. However, a vulnerability has been discovered in the package's HTTP handling mechanism, which exposes users to potential manipulation of their web traffic.

Vulnerability Detail

The vulnerability in @tomphttp/bare-server-node is related to insecure handling of HTTP requests. This flaw can be exploited by attackers to manipulate web traffic and potentially compromise the security and integrity of the system. The impact of this vulnerability may vary depending on the specific usage of the package, but it has the potential to affect any system where @tomphttp/bare-server-node is utilized. The vulnerability has a CVSS score of 9.8, indicating its critical severity.

How To Fix

Latest published version: 2.0.6 as of 22 Oct 2026

npm install @tomphttp/bare-server-node@2.0.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.0.2

This is the first release that contains the fix.

npm install @tomphttp/bare-server-node@2.0.2

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

Workaround

Given the nature of the vulnerability, the most effective solution is to upgrade to the patched version of @tomphttp/bare-server-node. Specific workaround strategies have not been disclosed due to security considerations. It is strongly recommended to follow the official repository announcements and updates for further information.

Conclusion

The HTTP handling vulnerability in @tomphttp/bare-server-node exposes users to potential manipulation of their web traffic. It is critical to upgrade to the patched version (2.0.2) of the package to mitigate the risk. Users are advised to follow the official repository announcements and updates for further information. For additional support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for @tomphttp/bare-server-node →

Share this vulnerability

FAQ

@tomphttp/bare-server-node is an npm package that provides a lightweight server implementation for handling HTTP requests in Node.js applications. It is widely used in various systems and can be integrated into different frameworks and libraries.

The vulnerability exposes users of @tomphttp/bare-server-node to potential manipulation of their web traffic. This can lead to security breaches and compromise the integrity of the system.

Yes, the vulnerability has been patched in version 2.0.2 of @tomphttp/bare-server-node. Users are strongly advised to upgrade to this version to mitigate the risk.

Specific workaround strategies have not been disclosed due to security considerations. It is recommended to upgrade to the patched version of @tomphttp/bare-server-node.

Further information about this vulnerability will be provided in the official repository announcements and updates. It is important to stay updated with the latest information to prevent potential exploitation.

How To Fix

Latest published version: 2.0.6 as of 22 Oct 2026

npm install @tomphttp/bare-server-node@2.0.6

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.0.2

This is the first release that contains the fix.

npm install @tomphttp/bare-server-node@2.0.2

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