USN-7117-3

Source
https://ubuntu.com/security/notices/USN-7117-3
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-3.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7117-3
Published
2024-12-05T16:53:22.970674Z
Modified
2024-12-05T16:53:22.970674Z
Summary
needrestart regression
Details

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

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?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

2.*

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

Ecosystem specific

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

Ubuntu:Pro:18.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=src?distro=esm-apps/bionic

Affected ranges

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

Affected versions

2.*

2.11-4

3.*

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

Ecosystem specific

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

Ubuntu:Pro:20.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=src?distro=esm-apps/focal

Affected ranges

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

Affected versions

3.*

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

Ecosystem specific

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

Ubuntu:22.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=src?distro=jammy

Affected ranges

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

Affected versions

3.*

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

Ecosystem specific

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

Ubuntu:24.10 / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=src?distro=oracular

Affected ranges

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

Affected versions

3.*

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

Ecosystem specific

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

Ubuntu:24.04:LTS / needrestart

Package

Name
needrestart
Purl
pkg:deb/ubuntu/needrestart?arch=src?distro=noble

Affected ranges

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

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
3.6-7ubuntu4.4

Ecosystem specific

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