Advisory

UBUNTU-CVE-2022-4515

Also known as: CVE-2022-4515

Summary

The record has no summary.

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.

Severity

High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2022-12-20 19:15 UTC
Modified
2026-02-04 02:59 UTC

Affected packages and fixes

exuberant-ctags

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1:5.9~svn20110310-11ubuntu0.1 (ecosystem)

Fixed versions

1:5.9~svn20110310-11ubuntu0.1

Fix

  • Fixed version 1:5.9~svn20110310-11ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exuberant-ctags

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 1:5.9~svn20110310-12ubuntu0.1 (ecosystem)

Fixed versions

1:5.9~svn20110310-12ubuntu0.1

Fix

  • Fixed version 1:5.9~svn20110310-12ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

exuberant-ctags

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:5.9~svn20110310-16ubuntu0.22.04.1 (ecosystem)

Fixed versions

1:5.9~svn20110310-16ubuntu0.22.04.1

Fix

  • Fixed version 1:5.9~svn20110310-16ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences