USN-7117-2

Vulnerability from osv_ubuntu – Published: 2024-11-26 09:29 – Updated: 2026-06-25 10:46 – Source website
VLAI
Summary
needrestart regression
Details

USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a regression in needrestart. This update fixes the problem.

We apologize for the inconvenience.

Original advisory details:

Qualys discovered that needrestart passed unsanitized data to a library (libmodule-scandeps-perl) which expects safe input. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-11003)

Qualys discovered that the library libmodule-scandeps-perl incorrectly parsed perl code. This could allow a local attacker to execute arbitrary shell commands. (CVE-2024-10224)

Qualys discovered that needrestart incorrectly used the PYTHONPATH environment variable to spawn a new Python interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48990)

Qualys discovered that needrestart incorrectly checked the path to the Python interpreter. A local attacker could possibly use this issue to win a race condition and execute arbitrary code as root. (CVE-2024-48991)

Qualys discovered that needrestart incorrectly used the RUBYLIB environment variable to spawn a new Ruby interpreter. A local attacker could possibly use this issue to execute arbitrary code as root. (CVE-2024-48992)


{
  "affected": [
    {
      "database_specific": {
        "cves_map": {
          "cves": [],
          "ecosystem": "Ubuntu:Pro:16.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "needrestart",
            "binary_version": "2.6-1ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "needrestart",
        "purl": "pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.6-1ubuntu0.1~esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1-1",
        "2.3-2",
        "2.4-1",
        "2.5-1",
        "2.6-1",
        "2.6-1ubuntu0.1~esm1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [],
          "ecosystem": "Ubuntu:Pro:18.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "needrestart",
            "binary_version": "3.1-1ubuntu0.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "needrestart",
        "purl": "pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1+esm2?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.1-1ubuntu0.1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.11-4",
        "3.0-1",
        "3.1-1",
        "3.1-1ubuntu0.1",
        "3.1-1ubuntu0.1+esm1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [],
          "ecosystem": "Ubuntu:Pro:20.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "needrestart",
            "binary_version": "3.4-6ubuntu0.1+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:20.04:LTS",
        "name": "needrestart",
        "purl": "pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1+esm2?arch=source\u0026distro=esm-apps/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.4-6ubuntu0.1+esm2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.4-5",
        "3.4-6",
        "3.4-6ubuntu0.1",
        "3.4-6ubuntu0.1+esm1"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [],
          "ecosystem": "Ubuntu:22.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "needrestart",
            "binary_version": "3.5-5ubuntu2.3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "needrestart",
        "purl": "pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.3?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.5-5ubuntu2.3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.5-4ubuntu2",
        "3.5-5ubuntu1",
        "3.5-5ubuntu2",
        "3.5-5ubuntu2.1",
        "3.5-5ubuntu2.2"
      ]
    },
    {
      "database_specific": {
        "cves_map": {
          "cves": [],
          "ecosystem": "Ubuntu:24.04:LTS"
        }
      },
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "needrestart",
            "binary_version": "3.6-7ubuntu4.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "needrestart",
        "purl": "pkg:deb/ubuntu/needrestart@3.6-7ubuntu4.4?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.6-7ubuntu4.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.6-5",
        "3.6-6",
        "3.6-7",
        "3.6-7ubuntu3",
        "3.6-7ubuntu4",
        "3.6-7ubuntu4.1",
        "3.6-7ubuntu4.3"
      ]
    }
  ],
  "aliases": [],
  "details": "USN-7117-1 fixed vulnerabilities in needrestart. The update introduced a\nregression in needrestart. This update fixes the problem.\n\nWe apologize for the inconvenience.\n\nOriginal advisory details:\n\n Qualys discovered that needrestart passed unsanitized data to a library \n (libmodule-scandeps-perl) which expects safe input. A local attacker could\n possibly use this issue to execute arbitrary code as root.\n (CVE-2024-11003)\n \n Qualys discovered that the library libmodule-scandeps-perl incorrectly \n parsed perl code. This could allow a local attacker to execute arbitrary\n shell commands. (CVE-2024-10224)\n \n Qualys discovered that needrestart incorrectly used the PYTHONPATH \n environment variable to spawn a new Python interpreter. A local attacker \n could possibly use this issue to execute arbitrary code as root. \n (CVE-2024-48990)\n \n Qualys discovered that needrestart incorrectly checked the path to the\n Python interpreter. A local attacker could possibly use this issue to win\n a race condition and execute arbitrary code as root. (CVE-2024-48991)\n \n Qualys discovered that needrestart incorrectly used the RUBYLIB\n environment variable to spawn a new Ruby interpreter. A local attacker\n could possibly use this issue to execute arbitrary code as root.\n (CVE-2024-48992)\n",
  "id": "USN-7117-2",
  "modified": "2026-06-25T10:46:34Z",
  "published": "2024-11-26T09:29:32Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-7117-2"
    },
    {
      "type": "REPORT",
      "url": "https://launchpad.net/bugs/2089193"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "summary": "needrestart regression",
  "upstream": []
}



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…

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…