USN-7064-1

Source
https://ubuntu.com/security/notices/USN-7064-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-7064-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-7064-1
Related
Published
2024-10-15T12:29:19.562787Z
Modified
2024-10-15T12:29:19.562787Z
Summary
nano vulnerability
Details

It was discovered that nano allowed a possible privilege escalation through an insecure temporary file. If nano was killed while editing, the permissions granted to the emergency save file could be used by an attacker to escalate privileges using a malicious symlink.

References

Affected packages

Ubuntu:Pro:16.04:LTS / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.3-2ubuntu2+esm1

Affected versions

2.*

2.4.2-1
2.4.2-1ubuntu1
2.4.3-1
2.5.0-1
2.5.1-1
2.5.2-1
2.5.3-2
2.5.3-2ubuntu1
2.5.3-2ubuntu2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano"
        },
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano-dbgsym"
        },
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano-tiny"
        },
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano-tiny-dbgsym"
        },
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano-udeb"
        },
        {
            "binary_version": "2.5.3-2ubuntu2+esm1",
            "binary_name": "nano-udeb-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / nano

Package

Name
nano
Purl
pkg:deb/ubuntu/nano?arch=src?distro=esm-infra/bionic

Affected ranges

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

Affected versions

2.*

2.8.6-3
2.8.7-1
2.9.0-1
2.9.1-1
2.9.2-1
2.9.3-1
2.9.3-2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm1",
            "binary_name": "nano"
        },
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm1",
            "binary_name": "nano-dbgsym"
        },
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm1",
            "binary_name": "nano-tiny"
        },
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm1",
            "binary_name": "nano-tiny-dbgsym"
        },
        {
            "binary_version": "2.9.3-2ubuntu0.1~esm1",
            "binary_name": "nano-udeb"
        }
    ]
}

Ubuntu:20.04:LTS / nano

Package

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

Affected ranges

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

Affected versions

4.*

4.3-1
4.5-1
4.7-1
4.7-2
4.8-1
4.8-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "4.8-1ubuntu1.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "4.8-1ubuntu1.1",
            "binary_name": "nano-dbgsym"
        },
        {
            "binary_version": "4.8-1ubuntu1.1",
            "binary_name": "nano-tiny"
        },
        {
            "binary_version": "4.8-1ubuntu1.1",
            "binary_name": "nano-tiny-dbgsym"
        },
        {
            "binary_version": "4.8-1ubuntu1.1",
            "binary_name": "nano-udeb"
        }
    ]
}

Ubuntu:22.04:LTS / nano

Package

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

Affected ranges

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

Affected versions

5.*

5.6.1-1build1
5.9-1

6.*

6.0-1
6.1-1
6.2-1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "6.2-1ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "6.2-1ubuntu0.1",
            "binary_name": "nano-dbgsym"
        },
        {
            "binary_version": "6.2-1ubuntu0.1",
            "binary_name": "nano-tiny"
        },
        {
            "binary_version": "6.2-1ubuntu0.1",
            "binary_name": "nano-tiny-dbgsym"
        }
    ]
}

Ubuntu:24.04:LTS / nano

Package

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

Affected ranges

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

Affected versions

7.*

7.2-1
7.2-2
7.2-2build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "7.2-2ubuntu0.1",
            "binary_name": "nano"
        },
        {
            "binary_version": "7.2-2ubuntu0.1",
            "binary_name": "nano-dbgsym"
        },
        {
            "binary_version": "7.2-2ubuntu0.1",
            "binary_name": "nano-tiny"
        },
        {
            "binary_version": "7.2-2ubuntu0.1",
            "binary_name": "nano-tiny-dbgsym"
        }
    ]
}