usn-4754-3
Vulnerability from osv_ubuntu
Published
2021-03-12 14:07
Modified
2026-04-27 14:11
Summary
python2.7, python3.7, python3.8 vulnerabilities
Details

USN-4754-1 fixed vulnerabilities in Python. This update provides the corresponding updates for Ubuntu 18.04 and Ubuntu 20.04.

In the case of Python 2.7 for 20.04, these additional fixes are included:

It was dicovered that Python allowed remote attackers to cause a denial of service (resource consumption) via a ZIP bomb. (CVE-2019-9674)

It was discovered that Python had potentially misleading information about whether sorting occurs. This fix updates the documentation about it. (CVE-2019-17514)

It was discovered that Python incorrectly handled certain TAR archives. An attacker could possibly use this issue to cause a denial of service. (CVE-2019-20907)

It was discovered that Python allowed an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking. (CVE-2020-8492)

It was discovered that Python allowed CRLF injection if the attacker controls the HTTP request method, as demonstrated by inserting CR and LF control characters in the first argument of HTTPConnection.request. (CVE-2020-26116)

Original advisory details:

It was discovered that Python incorrectly handled certain inputs. An attacker could possibly use this issue to execute arbitrary code or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-27619",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3177",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python3.7",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "libpython3.7",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "libpython3.7-minimal",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "libpython3.7-stdlib",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "libpython3.7-testsuite",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "python3.7",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "python3.7-examples",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "python3.7-minimal",
            "binary_version": "3.7.5-2~18.04.4"
          },
          {
            "binary_name": "python3.7-venv",
            "binary_version": "3.7.5-2~18.04.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "python3.7",
        "purl": "pkg:deb/ubuntu/python3.7@3.7.5-2~18.04.4?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.7.5-2~18.04.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.7.0~a2-1",
        "3.7.0~a3-1",
        "3.7.0~a3-2",
        "3.7.0~a3-3",
        "3.7.0~a4-1",
        "3.7.0~b1-1",
        "3.7.0~b1-1build1",
        "3.7.0~b2-1",
        "3.7.0~b3-1",
        "3.7.0-1~18.04",
        "3.7.1-1~18.04",
        "3.7.3-2~18.04.1",
        "3.7.5-2~18.04"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2020-27619",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3177",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python3.8",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "libpython3.8",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "libpython3.8-minimal",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "libpython3.8-stdlib",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "libpython3.8-testsuite",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "python3.8",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "python3.8-examples",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "python3.8-minimal",
            "binary_version": "3.8.0-3~18.04.1"
          },
          {
            "binary_name": "python3.8-venv",
            "binary_version": "3.8.0-3~18.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "python3.8",
        "purl": "pkg:deb/ubuntu/python3.8@3.8.0-3~18.04.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.8.0-3~18.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.8.0-3~18.04"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [
            {
              "id": "CVE-2019-9674",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-17514",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
                  "type": "CVSS_V3"
                },
                {
                  "score": "negligible",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2019-20907",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2020-8492",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "low",
                  "type": "Ubuntu"
                }
              ]
            },
            {
              "id": "CVE-2021-3177",
              "severity": [
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                  "type": "CVSS_V3"
                },
                {
                  "score": "medium",
                  "type": "Ubuntu"
                }
              ]
            }
          ],
          "ecosystem": "Ubuntu:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "idle-python2.7",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "libpython2.7",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "libpython2.7-minimal",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "libpython2.7-stdlib",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "libpython2.7-testsuite",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "python2.7",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "python2.7-examples",
            "binary_version": "2.7.18-1~20.04.1"
          },
          {
            "binary_name": "python2.7-minimal",
            "binary_version": "2.7.18-1~20.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "python2.7",
        "purl": "pkg:deb/ubuntu/python2.7@2.7.18-1~20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.7.18-1~20.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.7.17~rc1-1",
        "2.7.17-1",
        "2.7.17-1ubuntu5",
        "2.7.17-1ubuntu6",
        "2.7.18~rc1-2",
        "2.7.18-1~20.04"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-4754-1 fixed vulnerabilities in Python. This update provides\nthe corresponding updates for Ubuntu 18.04 and Ubuntu 20.04.\n\nIn the case of Python 2.7 for 20.04, these additional fixes are included:\n\nIt was dicovered that Python allowed remote attackers to cause a denial of\nservice (resource consumption) via a ZIP bomb. (CVE-2019-9674)\n\nIt was discovered that Python had potentially misleading information about\nwhether sorting occurs. This fix updates the documentation about it.\n(CVE-2019-17514)\n\nIt was discovered that Python incorrectly handled certain TAR archives.\nAn attacker could possibly use this issue to cause a denial of service.\n(CVE-2019-20907)\n\nIt was discovered that Python allowed an HTTP server to conduct Regular\nExpression Denial of Service (ReDoS) attacks against a client because of\nurllib.request.AbstractBasicAuthHandler catastrophic backtracking.\n(CVE-2020-8492)\n\nIt was discovered that Python allowed CRLF injection if the attacker controls\nthe HTTP request method, as demonstrated by inserting CR and LF control\ncharacters in the first argument of HTTPConnection.request. (CVE-2020-26116)\n\nOriginal advisory details:\n\n It was discovered that Python incorrectly handled certain inputs.\n An attacker could possibly use this issue to execute arbitrary code\n or cause a denial of service. (CVE-2020-27619, CVE-2021-3177)\n",
  "id": "USN-4754-3",
  "modified": "2026-04-27T14:11:26Z",
  "published": "2021-03-12T14:07:56Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4754-3"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-9674"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-17514"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-20907"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-8492"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-26116"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2020-27619"
    },
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-3177"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "python2.7, python3.7, python3.8 vulnerabilities",
  "upstream": [
    "UBUNTU-CVE-2019-9674",
    "UBUNTU-CVE-2019-17514",
    "UBUNTU-CVE-2019-20907",
    "UBUNTU-CVE-2020-8492",
    "UBUNTU-CVE-2020-26116",
    "UBUNTU-CVE-2020-27619",
    "UBUNTU-CVE-2021-3177"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…