Link Following Affecting libctf0 package, versions <2.37-7.21.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.05% (18th 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-SLES152-LIBCTF0-2662234
  • published14 Apr 2022
  • disclosed4 Nov 2021

Introduced: 4 Nov 2021

CVE-2021-20197  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 libctf0 to version 2.37-7.21.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libctf0 package and not the libctf0 package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

There is an open race window when writing output in the following utilities in GNU binutils version 2.35 and earlier:ar, objcopy, strip, ranlib. When these utilities are run as a privileged user (presumably as part of a script updating binaries across different users), an unprivileged user can trick these utilities into getting ownership of arbitrary files through a symlink.

CVSS Scores

version 3.1