Improper Input Validation Affecting python39:3.9/python39-pysocks package, versions <0:1.7.1-4.module+el8.9.0+19644+d68f775d


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.2% (60th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-PYTHON39-5499333
  • published8 May 2023
  • disclosed19 Apr 2023

Introduced: 19 Apr 2023

CVE-2023-27043  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:8 python39:3.9/python39-pysocks to version 0:1.7.1-4.module+el8.9.0+19644+d68f775d or higher.
This issue was patched in RHSA-2024:2985.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python39:3.9/python39-pysocks package and not the python39:3.9/python39-pysocks package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.

References

CVSS Scores

version 3.1