ubuntu-cve-2025-5054
Vulnerability from osv_ubuntu
Published
2025-05-29 00:00
Modified
2026-01-20 05:25
Summary
Details

Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function _check_global_pid_and_forward, which detects if the crashing process resided in a container, was being called before consistency_checks, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. consistency_checks is now being called before _check_global_pid_and_forward. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "python-apport",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "python-problem-report",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.1-0ubuntu2.30+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.1-0ubuntu2.30+esm5?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.1-0ubuntu2.30+esm5"
            }
          ],
          "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",
        "2.20.1-0ubuntu2.18",
        "2.20.1-0ubuntu2.19",
        "2.20.1-0ubuntu2.20",
        "2.20.1-0ubuntu2.21",
        "2.20.1-0ubuntu2.22",
        "2.20.1-0ubuntu2.23",
        "2.20.1-0ubuntu2.24",
        "2.20.1-0ubuntu2.25",
        "2.20.1-0ubuntu2.26",
        "2.20.1-0ubuntu2.27",
        "2.20.1-0ubuntu2.28",
        "2.20.1-0ubuntu2.30",
        "2.20.1-0ubuntu2.30+esm1",
        "2.20.1-0ubuntu2.30+esm2",
        "2.20.1-0ubuntu2.30+esm3",
        "2.20.1-0ubuntu2.30+esm4"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "python-apport",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "python-problem-report",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.9-0ubuntu7.29+esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.9-0ubuntu7.29+esm1?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.9-0ubuntu7.29+esm1"
            }
          ],
          "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",
        "2.20.9-0ubuntu7.1",
        "2.20.9-0ubuntu7.2",
        "2.20.9-0ubuntu7.3",
        "2.20.9-0ubuntu7.4",
        "2.20.9-0ubuntu7.5",
        "2.20.9-0ubuntu7.6",
        "2.20.9-0ubuntu7.7",
        "2.20.9-0ubuntu7.8",
        "2.20.9-0ubuntu7.9",
        "2.20.9-0ubuntu7.11",
        "2.20.9-0ubuntu7.12",
        "2.20.9-0ubuntu7.13",
        "2.20.9-0ubuntu7.14",
        "2.20.9-0ubuntu7.15",
        "2.20.9-0ubuntu7.16",
        "2.20.9-0ubuntu7.17",
        "2.20.9-0ubuntu7.18",
        "2.20.9-0ubuntu7.19",
        "2.20.9-0ubuntu7.20",
        "2.20.9-0ubuntu7.21",
        "2.20.9-0ubuntu7.23",
        "2.20.9-0ubuntu7.24",
        "2.20.9-0ubuntu7.26",
        "2.20.9-0ubuntu7.27",
        "2.20.9-0ubuntu7.28",
        "2.20.9-0ubuntu7.29"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.11-0ubuntu27.28"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.11-0ubuntu27.28"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.11-0ubuntu27.28?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.11-0ubuntu27.28"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.20.11-0ubuntu8",
        "2.20.11-0ubuntu9",
        "2.20.11-0ubuntu13",
        "2.20.11-0ubuntu14",
        "2.20.11-0ubuntu15",
        "2.20.11-0ubuntu16",
        "2.20.11-0ubuntu17",
        "2.20.11-0ubuntu18",
        "2.20.11-0ubuntu19",
        "2.20.11-0ubuntu20",
        "2.20.11-0ubuntu21",
        "2.20.11-0ubuntu22",
        "2.20.11-0ubuntu24",
        "2.20.11-0ubuntu25",
        "2.20.11-0ubuntu26",
        "2.20.11-0ubuntu27",
        "2.20.11-0ubuntu27.2",
        "2.20.11-0ubuntu27.3",
        "2.20.11-0ubuntu27.4",
        "2.20.11-0ubuntu27.6",
        "2.20.11-0ubuntu27.8",
        "2.20.11-0ubuntu27.9",
        "2.20.11-0ubuntu27.10",
        "2.20.11-0ubuntu27.11",
        "2.20.11-0ubuntu27.12",
        "2.20.11-0ubuntu27.13",
        "2.20.11-0ubuntu27.14",
        "2.20.11-0ubuntu27.16",
        "2.20.11-0ubuntu27.17",
        "2.20.11-0ubuntu27.18",
        "2.20.11-0ubuntu27.20",
        "2.20.11-0ubuntu27.21",
        "2.20.11-0ubuntu27.23",
        "2.20.11-0ubuntu27.24",
        "2.20.11-0ubuntu27.25",
        "2.20.11-0ubuntu27.26",
        "2.20.11-0ubuntu27.27"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.20.11-0ubuntu82.7"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.20.11-0ubuntu82.7"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.20.11-0ubuntu82.7?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.20.11-0ubuntu82.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.20.11-0ubuntu70",
        "2.20.11-0ubuntu73",
        "2.20.11-0ubuntu74",
        "2.20.11-0ubuntu75",
        "2.20.11-0ubuntu76",
        "2.20.11-0ubuntu77",
        "2.20.11-0ubuntu78",
        "2.20.11-0ubuntu79",
        "2.20.11-0ubuntu80",
        "2.20.11-0ubuntu81",
        "2.20.11-0ubuntu82",
        "2.20.11-0ubuntu82.1",
        "2.20.11-0ubuntu82.2",
        "2.20.11-0ubuntu82.3",
        "2.20.11-0ubuntu82.4",
        "2.20.11-0ubuntu82.5",
        "2.20.11-0ubuntu82.6"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "apport",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-core-dump-handler",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-gtk",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-kde",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-noui",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-retrace",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "apport-valgrind",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "dh-apport",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "python3-apport",
            "binary_version": "2.28.1-0ubuntu3.6"
          },
          {
            "binary_name": "python3-problem-report",
            "binary_version": "2.28.1-0ubuntu3.6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "apport",
        "purl": "pkg:deb/ubuntu/apport@2.28.1-0ubuntu3.6?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.28.1-0ubuntu3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.27.0-0ubuntu5",
        "2.27.0-0ubuntu6",
        "2.27.0-0ubuntu7",
        "2.28.0-0ubuntu1",
        "2.28.1-0ubuntu1",
        "2.28.1-0ubuntu2",
        "2.28.1-0ubuntu3",
        "2.28.1-0ubuntu3.1",
        "2.28.1-0ubuntu3.3",
        "2.28.1-0ubuntu3.5"
      ]
    }
  ],
  "aliases": [],
  "details": "Race condition in Canonical apport up to and including 2.32.0 allows a local attacker to leak sensitive information via PID-reuse by leveraging namespaces. When handling a crash, the function `_check_global_pid_and_forward`, which detects if the crashing process resided in a container, was being called before `consistency_checks`, which attempts to detect if the crashing process had been replaced. Because of this, if a process crashed and was quickly replaced with a containerized one, apport could be made to forward the core dump to the container, potentially leaking sensitive information. `consistency_checks` is now being called before `_check_global_pid_and_forward`. Additionally, given that the PID-reuse race condition cannot be reliably detected from userspace alone, crashes are only forwarded to containers if the kernel provided a pidfd, or if the crashing process was unprivileged (i.e., if dump mode == 1).",
  "id": "UBUNTU-CVE-2025-5054",
  "modified": "2026-01-20T05:25:02Z",
  "published": "2025-05-29T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2025-5054"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2025-5054"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7545-1"
    }
  ],
  "related": [
    "USN-7545-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2025-5054"
  ]
}



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…