UBUNTU-CVE-2022-4515

Source
https://ubuntu.com/security/CVE-2022-4515
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-4515.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-4515
Related
Published
2022-12-20T19:15:00Z
Modified
2022-12-20T19:15:00Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in Exuberant Ctags in the way it handles the "-o" option. This option specifies the tag filename. A crafted tag filename specified in the command line or in the configuration file results in arbitrary command execution because the externalSortTags() in sort.c calls the system(3) function in an unsafe way.

References

Affected packages

Ubuntu:Pro:16.04:LTS / exuberant-ctags

Package

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

Affected ranges

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

Affected versions

1:5.*

1:5.9~svn20110310-9
1:5.9~svn20110310-10
1:5.9~svn20110310-11

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:5.9~svn20110310-11ubuntu0.1~esm1",
            "binary_name": "exuberant-ctags"
        },
        {
            "binary_version": "1:5.9~svn20110310-11ubuntu0.1~esm1",
            "binary_name": "exuberant-ctags-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / exuberant-ctags

Package

Name
exuberant-ctags
Purl
pkg:deb/ubuntu/exuberant-ctags?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:5.9~svn20110310-11ubuntu0.1

Affected versions

1:5.*

1:5.9~svn20110310-11

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:5.9~svn20110310-11ubuntu0.1",
            "binary_name": "exuberant-ctags"
        },
        {
            "binary_version": "1:5.9~svn20110310-11ubuntu0.1",
            "binary_name": "exuberant-ctags-dbgsym"
        }
    ]
}

Ubuntu:20.04:LTS / exuberant-ctags

Package

Name
exuberant-ctags
Purl
pkg:deb/ubuntu/exuberant-ctags?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:5.9~svn20110310-12ubuntu0.1

Affected versions

1:5.*

1:5.9~svn20110310-12

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:5.9~svn20110310-12ubuntu0.1",
            "binary_name": "exuberant-ctags"
        },
        {
            "binary_version": "1:5.9~svn20110310-12ubuntu0.1",
            "binary_name": "exuberant-ctags-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / exuberant-ctags

Package

Name
exuberant-ctags
Purl
pkg:deb/ubuntu/exuberant-ctags?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:5.9~svn20110310-16ubuntu0.22.04.1

Affected versions

1:5.*

1:5.9~svn20110310-15
1:5.9~svn20110310-16
1:5.9~svn20110310-16build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1:5.9~svn20110310-16ubuntu0.22.04.1",
            "binary_name": "exuberant-ctags"
        },
        {
            "binary_version": "1:5.9~svn20110310-16ubuntu0.22.04.1",
            "binary_name": "exuberant-ctags-dbgsym"
        }
    ]
}