UBUNTU-CVE-2018-6552 (CVE-2018-6552)

Vulnerability from osv_ubuntu – Published: 2018-05-30 18:00 – Updated: 2025-07-16 04:53 – Source website
VLAI
Details

Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc// does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc// does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "python-apport",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "python-problem-report",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.14.1-0ubuntu3.29"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.14.1-0ubuntu3.29"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.14.1-0ubuntu3.29?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.14.1-0ubuntu3.29"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.12.5-0ubuntu2",
        "2.12.6-0ubuntu1",
        "2.12.7-0ubuntu1",
        "2.12.7-0ubuntu2",
        "2.12.7-0ubuntu3",
        "2.12.7-0ubuntu6",
        "2.13.1-0ubuntu1",
        "2.13.1-0ubuntu2",
        "2.13.2-0ubuntu2",
        "2.13.2-0ubuntu3",
        "2.13.2-0ubuntu4",
        "2.13.2-0ubuntu5",
        "2.13.3-0ubuntu1",
        "2.14-0ubuntu1",
        "2.14.1-0ubuntu1",
        "2.14.1-0ubuntu2",
        "2.14.1-0ubuntu3",
        "2.14.1-0ubuntu3.1",
        "2.14.1-0ubuntu3.2",
        "2.14.1-0ubuntu3.3",
        "2.14.1-0ubuntu3.4",
        "2.14.1-0ubuntu3.5",
        "2.14.1-0ubuntu3.6",
        "2.14.1-0ubuntu3.7",
        "2.14.1-0ubuntu3.8",
        "2.14.1-0ubuntu3.9",
        "2.14.1-0ubuntu3.10",
        "2.14.1-0ubuntu3.11",
        "2.14.1-0ubuntu3.12",
        "2.14.1-0ubuntu3.13",
        "2.14.1-0ubuntu3.15",
        "2.14.1-0ubuntu3.16",
        "2.14.1-0ubuntu3.18",
        "2.14.1-0ubuntu3.19",
        "2.14.1-0ubuntu3.20",
        "2.14.1-0ubuntu3.21",
        "2.14.1-0ubuntu3.23",
        "2.14.1-0ubuntu3.24",
        "2.14.1-0ubuntu3.25",
        "2.14.1-0ubuntu3.27",
        "2.14.1-0ubuntu3.28"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "python-apport",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "python-problem-report",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.1-0ubuntu2.18"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.1-0ubuntu2.18"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.1-0ubuntu2.18?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.1-0ubuntu2.18"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.19.1-0ubuntu3",
        "2.19.2-0ubuntu1",
        "2.19.2-0ubuntu2",
        "2.19.2-0ubuntu3",
        "2.19.2-0ubuntu4",
        "2.19.2-0ubuntu5",
        "2.19.2-0ubuntu6",
        "2.19.2-0ubuntu8",
        "2.19.2-0ubuntu9",
        "2.19.3-0ubuntu1",
        "2.19.3-0ubuntu2",
        "2.19.3-0ubuntu3",
        "2.19.4-0ubuntu1",
        "2.19.4-0ubuntu2",
        "2.20-0ubuntu2",
        "2.20-0ubuntu3",
        "2.20.1-0ubuntu1",
        "2.20.1-0ubuntu2",
        "2.20.1-0ubuntu2.1",
        "2.20.1-0ubuntu2.2",
        "2.20.1-0ubuntu2.4",
        "2.20.1-0ubuntu2.5",
        "2.20.1-0ubuntu2.6",
        "2.20.1-0ubuntu2.9",
        "2.20.1-0ubuntu2.10",
        "2.20.1-0ubuntu2.12",
        "2.20.1-0ubuntu2.13",
        "2.20.1-0ubuntu2.14",
        "2.20.1-0ubuntu2.15",
        "2.20.1-0ubuntu2.16",
        "2.20.1-0ubuntu2.17"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "python-apport",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "python-problem-report",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.9-0ubuntu7.1"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.9-0ubuntu7.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.9-0ubuntu7.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.9-0ubuntu7.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.20.7-0ubuntu3",
        "2.20.7-0ubuntu3.1",
        "2.20.7-0ubuntu4",
        "2.20.8-0ubuntu1",
        "2.20.8-0ubuntu2",
        "2.20.8-0ubuntu3",
        "2.20.8-0ubuntu4",
        "2.20.8-0ubuntu5",
        "2.20.8-0ubuntu6",
        "2.20.8-0ubuntu7",
        "2.20.8-0ubuntu8",
        "2.20.8-0ubuntu9",
        "2.20.8-0ubuntu10",
        "2.20.9-0ubuntu1",
        "2.20.9-0ubuntu2",
        "2.20.9-0ubuntu4",
        "2.20.9-0ubuntu5",
        "2.20.9-0ubuntu6",
        "2.20.9-0ubuntu7"
      ]
    }
  ],
  "aliases": [],
  "details": "Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/\u003cglobal pid\u003e/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/\u003cglobal pid\u003e/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.",
  "id": "UBUNTU-CVE-2018-6552",
  "modified": "2025-07-16T04:53:36Z",
  "published": "2018-05-30T18:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-6552"
    },
    {
      "type": "REPORT",
      "url": "http://www.sbosnet.nl/"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3664-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3664-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-6552"
    }
  ],
  "related": [
    "USN-3664-1",
    "USN-3664-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "high",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-6552"
  ]
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…