CVE-2023-48052: Missing SSL certificate validation in HTTPie v3.2.2

httpie Updated 02 Oct 2025

Summary

16/11/2023
No i
High
7.4

CVE-2023-48052: Missing SSL certificate validation in HTTPie v3.2.2 allows attackers to eavesdrop on communications between the host and server via a man-in-the-middle attack. Affects httpie versions 0.1 – 3.2.2. No fix is published. How to fix ↓

Also tracked for

The same CVE-2023-48052 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

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

HTTPie is a command-line tool for making HTTP requests. It provides a simple and intuitive interface for interacting with HTTP servers. The vulnerability affects version 3.2.2 of the HTTPie package. This package is commonly used in Python projects to send HTTP requests and receive responses. The vulnerability allows attackers to eavesdrop on communications between the host and server via a man-in-the-middle attack.

Vulnerability Detail

The missing SSL certificate validation in HTTPie v3.2.2 exposes a security flaw that can be exploited by attackers. By intercepting the communication between the host and server, an attacker can eavesdrop on sensitive information transmitted over the network. This includes credentials, session tokens, and any other data sent over HTTP or HTTPS. The vulnerability arises from the lack of proper validation of SSL certificates, allowing attackers to impersonate the server and intercept the traffic without detection.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can manually validate SSL certificates by using alternative tools or libraries that provide proper certificate validation. One such option is the 'requests' library in Python, which includes SSL certificate validation by default. Users can modify their code to use 'requests' instead of HTTPie until a patched version of HTTPie is available.

Conclusion

In conclusion, the missing SSL certificate validation vulnerability in HTTPie v3.2.2 exposes the communication between the host and server to potential eavesdropping by attackers. It is crucial to update to a patched version of HTTPie (v3.2.3 or later) to ensure SSL certificate validation is performed correctly. Alternatively, users can use other tools or libraries that provide proper certificate validation. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for httpie →

Share this vulnerability

FAQ

HTTPie is a command-line tool for making HTTP requests. It provides a user-friendly interface and is commonly used in Python projects.

SSL certificate validation is the process of verifying the authenticity and integrity of SSL certificates presented by servers during HTTPS connections. It ensures that the server is trusted and the communication is secure.

A man-in-the-middle attack is a type of cyber attack where an attacker intercepts and alters communication between two parties without their knowledge. In this vulnerability, an attacker can eavesdrop on the communication between the host and server.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using just the Pipfile.lock file.

The CVSS score of this vulnerability is 7.4, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for httpie.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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