Improper Certificate Validation Affecting httpie package, versions [0,3.2.3)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-HTTPIE-6067571
  • published17 Nov 2023
  • disclosed16 Nov 2023
  • creditUnknown

Introduced: 16 Nov 2023

CVE-2023-48052  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade httpie to version 3.2.3 or higher.

Overview

httpie is a command line HTTP client.

Affected versions of this package are vulnerable to Improper Certificate Validation via the client.py and update_warnings.py files. An attacker can eavesdrop on communications between the host and server by conducting a man-in-the-middle attack.

Mitigation:

  1. Do not use urllib3.disable_warnings() to close TLS warning.

  2. Set get request verify=True.

CVSS Scores

version 3.1