#VU72618 Input validation error in Python


Published: 2023-02-28 | Updated: 2023-09-01

Vulnerability identifier: #VU72618

Vulnerability risk: Medium

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-24329

CWE-ID: CWE-20

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Python
Universal components / Libraries / Scripting languages

Vendor: Python.org

Description

The vulnerability allows a remote attacker to bypass implemented filters.

The vulnerability exists due to insufficient validation of URLs that start with blank characters within urllib.parse component of Python. A remote attacker can pass specially crafted URL to bypass existing filters.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Python: 3.11.0 - 3.11.3, 3.10.0 - 3.10.11, 3.9.0 - 3.9.16, 3.8 - 3.8.16, 3.7 - 3.7.16


External links
http://pointernull.com/security/python-url-parse-problem.html
http://github.com/python/cpython/pull/99421
http://github.com/python/cpython/issues/102153
http://docs.python.org/3.10/whatsnew/changelog.html#python-3-10-12-final
http://docs.python.org/3.9/whatsnew/changelog.html#python-3-9-17-final
http://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-17-final
http://docs.python.org/3.7/whatsnew/changelog.html#python-3-7-17-final
http://docs.python.org/3.11/whatsnew/changelog.html#python-3-11-14-final


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability