Arbitrary Command Execution Affecting ctags package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.61% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CTAGS-3177482
  • published20 Dec 2022
  • disclosed19 Dec 2022
  • creditUnknown

Introduced: 19 Dec 2022

CVE-2022-4515  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

There is no fixed version for ctags.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Execution via a tag file with a crafted filename, due to mishandling the -o option. The externalSortTags() function in sort.c calls the system(3) function in an unsafe way.

References

CVSS Base Scores

version 3.1