UBUNTU-CVE-2024-48992

Source
https://ubuntu.com/security/CVE-2024-48992
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-48992.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-48992
Related
Published
2024-11-19T16:00:00Z
Modified
2024-11-28T16:29:57Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Qualys discovered that needrestart, before version 3.8, allows local attackers to execute arbitrary code as root by tricking needrestart into running the Ruby interpreter with an attacker-controlled RUBYLIB environment variable.

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~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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "2.6-1ubuntu0.1~esm1",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}

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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.1-1ubuntu0.1+esm1",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}

Ubuntu:20.04:LTS / needrestart

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

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

Ecosystem specific

{
    "ubuntu_priority": "high",
    "priority_reason": "Local privilege escalation"
}

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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.4-6ubuntu0.1+esm1",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}

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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.5-5ubuntu2.2",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}

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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.6-8ubuntu4.2",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}

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",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "3.6-7ubuntu4.3",
            "binary_name": "needrestart"
        }
    ],
    "priority_reason": "Local privilege escalation"
}