ubuntu-cve-2019-12387
Vulnerability from osv_ubuntu
Published
2019-06-10 12:29
Modified
2025-09-08 16:45
Summary
Details

In Twisted before 19.2.1, twisted.web did not validate or sanitize URIs or HTTP methods, allowing an attacker to inject invalid characters such as CRLF.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "python-twisted",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-bin",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-conch",
            "binary_version": "1:13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-core",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-lore",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-mail",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-names",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-news",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-runner",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-web",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          },
          {
            "binary_name": "python-twisted-words",
            "binary_version": "13.2.0-1ubuntu1.2+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "twisted",
        "purl": "pkg:deb/ubuntu/twisted@13.2.0-1ubuntu1.2+esm1?arch=source\u0026distro=trusty/esm"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "13.2.0-1ubuntu1.2+esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "13.0.0-1ubuntu1",
        "13.2.0-1ubuntu1",
        "13.2.0-1ubuntu1.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python-twisted",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-bin",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-conch",
            "binary_version": "1:16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-core",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-mail",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-names",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-news",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-runner",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-web",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python-twisted-words",
            "binary_version": "16.0.0-1ubuntu0.4"
          },
          {
            "binary_name": "python3-twisted",
            "binary_version": "16.0.0-1ubuntu0.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "twisted",
        "purl": "pkg:deb/ubuntu/twisted@16.0.0-1ubuntu0.4?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "16.0.0-1ubuntu0.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "15.2.1-1ubuntu2",
        "15.5.0-1",
        "15.5.0-2",
        "15.5.0-2ubuntu1",
        "15.5.0-4",
        "16.0.0~pre1-1",
        "16.0.0~pre1-1ubuntu1",
        "16.0.0~pre1-2ubuntu1",
        "16.0.0~pre1-3",
        "16.0.0-1",
        "16.0.0-1ubuntu0.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "python-twisted",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-bin",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-conch",
            "binary_version": "1:17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-core",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-mail",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-names",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-news",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-runner",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-web",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python-twisted-words",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python3-twisted",
            "binary_version": "17.9.0-2ubuntu0.1"
          },
          {
            "binary_name": "python3-twisted-bin",
            "binary_version": "17.9.0-2ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "twisted",
        "purl": "pkg:deb/ubuntu/twisted@17.9.0-2ubuntu0.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "17.9.0-2ubuntu0.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "16.6.0-2ubuntu3",
        "17.9.0-1",
        "17.9.0-2"
      ]
    }
  ],
  "aliases": [],
  "details": "In Twisted before 19.2.1, twisted.web did not validate or sanitize URIs or HTTP methods, allowing an attacker to inject invalid characters such as CRLF.",
  "id": "UBUNTU-CVE-2019-12387",
  "modified": "2025-09-08T16:45:26Z",
  "published": "2019-06-10T12:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2019-12387"
    },
    {
      "type": "REPORT",
      "url": "https://labs.twistedmatrix.com/2019/06/twisted-1921-released.html"
    },
    {
      "type": "REPORT",
      "url": "https://twistedmatrix.com/pipermail/twisted-python/2019-June/032352.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4308-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4308-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2019-12387"
    }
  ],
  "related": [
    "USN-4308-1",
    "USN-4308-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2019-12387"
  ]
}



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…