USN-7117-2

Source
https://ubuntu.com/security/notices/USN-7117-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-2.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7117-2
Related
Published
2024-11-26T09:29:32.319524Z
Modified
2024-11-26T09:29:32.319524Z
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)

References

Affected packages

Ubuntu:Pro:16.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@2.6-1ubuntu0.1~esm2?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6-1ubuntu0.1~esm2

Affected versions

2.*

2.1-1
2.3-2
2.4-1
2.5-1
2.6-1
2.6-1ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.6-1ubuntu0.1~esm2",
            "binary_name": "needrestart"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@3.1-1ubuntu0.1+esm2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1-1ubuntu0.1+esm2

Affected versions

2.*

2.11-4

3.*

3.0-1
3.1-1
3.1-1ubuntu0.1
3.1-1ubuntu0.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.1-1ubuntu0.1+esm2",
            "binary_name": "needrestart"
        }
    ]
}

Ubuntu:Pro:20.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@3.4-6ubuntu0.1+esm2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4-6ubuntu0.1+esm2

Affected versions

3.*

3.4-5
3.4-6
3.4-6ubuntu0.1
3.4-6ubuntu0.1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "3.4-6ubuntu0.1+esm2",
            "binary_name": "needrestart"
        }
    ]
}

Ubuntu:22.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@3.5-5ubuntu2.3?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.5-5ubuntu2.3

Affected versions

3.*

3.5-4ubuntu2
3.5-5ubuntu1
3.5-5ubuntu2
3.5-5ubuntu2.1
3.5-5ubuntu2.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.5-5ubuntu2.3",
            "binary_name": "needrestart"
        }
    ]
}

Ubuntu:24.10 / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@3.6-8ubuntu4.3?arch=source&distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6-8ubuntu4.3

Affected versions

3.*

3.6-7ubuntu4
3.6-8ubuntu1
3.6-8ubuntu2
3.6-8ubuntu3
3.6-8ubuntu4
3.6-8ubuntu4.2

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.6-8ubuntu4.3",
            "binary_name": "needrestart"
        }
    ]
}

Ubuntu:24.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart@3.6-7ubuntu4.4?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6-7ubuntu4.4

Affected versions

3.*

3.6-5
3.6-6
3.6-7
3.6-7ubuntu3
3.6-7ubuntu4
3.6-7ubuntu4.1
3.6-7ubuntu4.3

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "3.6-7ubuntu4.4",
            "binary_name": "needrestart"
        }
    ]
}