CVE and update status of the FreeBSD ports tree4,526 unaddressed CVEs in 616 portsAll times are CET

CVE details

CVE-2022-0391

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.

Score
7.5 high
Published
2022-02-09
Links
NVD · cve.org

Affected ports (1)

PortPackageVersionStatusMaintainer
lang/python27python272.7.18_5unaddressedpython@FreeBSD.org

Template for a VuXML entry

Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.

  <vuln vid="FIXME (make newentry)">
    <topic>FIXME -- FIXME</topic>
    <affects>
      <package>
	<name>python27</name>
	<range><lt>3.6.14</lt></range>
      </package>
    </affects>
    <description>
      <body xmlns="http://www.w3.org/1999/xhtml">
	<p>A flaw was found in Python, specifically within the urllib.parse
	module. This module helps break Uniform Resource Locator (URL) strings
	into components. The issue involves how the urlparse method does not
	sanitize input and allows characters like '\r' and '\n' in the URL
	path. This flaw allows an attacker to input a crafted URL, leading to
	injection attacks. This flaw affects Python versions prior to
	3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.</p>
      </body>
    </description>
    <references>
      <cvename>CVE-2022-0391</cvename>
      <url>https://nvd.nist.gov/vuln/detail/CVE-2022-0391</url>
    </references>
    <dates>
      <discovery>2022-02-09</discovery>
      <entry>2026-10-25</entry>
    </dates>
  </vuln>