USN-7117-1

Source
https://ubuntu.com/security/notices/USN-7117-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7117-1.json
JSON Data
https://api.test.osv.dev/v1/vulns/USN-7117-1
Related
Published
2024-11-19T17:54:48.685270Z
Modified
2024-11-19T17:54:48.685270Z
Summary
Several security issues were fixed in needrestart and Module::ScanDeps
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 / libmodule-scandeps-perl

Package

Name
libmodule-scandeps-perl
Purl
pkg:deb/ubuntu/libmodule-scandeps-perl?arch=src?distro=esm-apps/xenial

Affected ranges

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

Affected versions

1.*

1.19-1
1.20-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.20-1ubuntu0.1~esm1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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~esm1

Affected versions

2.*

2.1-1
2.3-2
2.4-1
2.5-1
2.6-1

Ecosystem specific

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

Ubuntu:Pro:18.04:LTS / libmodule-scandeps-perl

Package

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

Affected ranges

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

Affected versions

1.*

1.23-1
1.24-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.24-1ubuntu0.1~esm1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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+esm1

Affected versions

2.*

2.11-4

3.*

3.0-1
3.1-1
3.1-1ubuntu0.1

Ecosystem specific

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

Ubuntu:Pro:20.04:LTS / libmodule-scandeps-perl

Package

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

Affected ranges

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

Affected versions

1.*

1.27-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "1.27-1ubuntu0.1~esm1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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+esm1

Affected versions

3.*

3.4-5
3.4-6
3.4-6ubuntu0.1

Ecosystem specific

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

Ubuntu:22.04:LTS / libmodule-scandeps-perl

Package

Name
libmodule-scandeps-perl
Purl
pkg:deb/ubuntu/libmodule-scandeps-perl?arch=src?distro=jammy

Affected ranges

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

Affected versions

1.*

1.30-1
1.31-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.31-1ubuntu0.1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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.2

Affected versions

3.*

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

Ecosystem specific

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

Ubuntu:24.10 / libmodule-scandeps-perl

Package

Name
libmodule-scandeps-perl
Purl
pkg:deb/ubuntu/libmodule-scandeps-perl?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35-1ubuntu0.24.10.1

Affected versions

1.*

1.35-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.35-1ubuntu0.24.10.1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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.2

Affected versions

3.*

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

Ecosystem specific

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

Ubuntu:24.04:LTS / libmodule-scandeps-perl

Package

Name
libmodule-scandeps-perl
Purl
pkg:deb/ubuntu/libmodule-scandeps-perl?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.35-1ubuntu0.24.04.1

Affected versions

1.*

1.31-2
1.34-1
1.35-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1.35-1ubuntu0.24.04.1",
            "binary_name": "libmodule-scandeps-perl"
        }
    ]
}

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.3

Affected versions

3.*

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

Ecosystem specific

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