UBUNTU-CVE-2022-37705

Source
https://ubuntu.com/security/CVE-2022-37705
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-37705.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-37705
Related
Published
2023-01-30T00:00:00Z
Modified
2023-01-30T00:00:00Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A privilege escalation flaw was found in Amanda 3.5.1 in which the backup user can acquire root privileges. The vulnerable component is the runtar SUID program, which is a wrapper to run /usr/bin/tar with specific arguments that are controllable by the attacker. This program mishandles the arguments passed to tar binary (it expects that the argument name and value are separated with a space; however, separating them with an equals sign is also supported),

References

Affected packages

Ubuntu:Pro:16.04:LTS / amanda

Package

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

Affected ranges

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

Affected versions

1:3.*

1:3.3.6-4
1:3.3.6-4.1
1:3.3.6-4.1ubuntu0.1
1:3.3.6-4.1ubuntu0.1+actuallyesm2
1:3.3.6-4.1ubuntu0.1+esm1
1:3.3.6-4.1ubuntu0.1+esm2

Ecosystem specific

{
    "ubuntu_priority": "high"
}

Ubuntu:18.04:LTS / amanda

Package

Name
amanda
Purl
pkg:deb/ubuntu/amanda?arch=src?distro=bionic

Affected ranges

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

Affected versions

1:3.*

1:3.3.9-5build1
1:3.5-2
1:3.5.1-1
1:3.5.1-1build1
1:3.5.1-1build2
1:3.5.1-1ubuntu0.1
1:3.5.1-1ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-client"
        },
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-client-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-common"
        },
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-common-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-server"
        },
        {
            "binary_version": "1:3.5.1-1ubuntu0.3",
            "binary_name": "amanda-server-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / amanda

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:3.5.1-2ubuntu0.3

Affected versions

1:3.*

1:3.5.1-2build2
1:3.5.1-2build3
1:3.5.1-2ubuntu0.1
1:3.5.1-2ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-client"
        },
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-client-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-common"
        },
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-common-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-server"
        },
        {
            "binary_version": "1:3.5.1-2ubuntu0.3",
            "binary_name": "amanda-server-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / amanda

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:3.5.1-8ubuntu1.3

Affected versions

1:3.*

1:3.5.1-5ubuntu1
1:3.5.1-8
1:3.5.1-8ubuntu1
1:3.5.1-8ubuntu1.1
1:3.5.1-8ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "high",
    "binaries": [
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-client"
        },
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-client-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-common"
        },
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-common-dbgsym"
        },
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-server"
        },
        {
            "binary_version": "1:3.5.1-8ubuntu1.3",
            "binary_name": "amanda-server-dbgsym"
        }
    ]
}