[ GLSA 202402-32 ] btrbk: Remote Code Execution

[email protected] Mon, 26 Feb 2024 12:54:12 -0000
Newsgroups gmane.linux.gentoo.announce
Message-ID <170895205288.8.18264888635522385736@987c7955d8b1>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202402-32
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: btrbk: Remote Code Execution
     Date: February 26, 2024
     Bugs: #806962
       ID: 202402-32

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

A vulnerability has been discovered in btrbk which can lead to remote
code execution.

Background
==========

btrbk is a backup tool for btrfs subvolumes, taking advantage of btrfs
specific capabilities to create atomic snapshots and transfer them
incrementally to your backup locations.

Affected packages
=================

Package           Vulnerable    Unaffected
----------------  ------------  ------------
app-backup/btrbk  < 0.31.2      >= 0.31.2

Description
===========

A vulnerability has been discovered in btrbk. Please review the CVE
identifier referenced below for details.

Impact
======

Specialy crafted commands may be executed without being propely checked.
Applies to remote hosts filtering ssh commands using ssh_filter_btrbk.sh
in authorized_keys.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All btrbk users should upgrade to the latest version:

  # emerge --sync
  # emerge --ask --oneshot --verbose ">=app-backup/btrbk-0.31.2"

References
==========

[ 1 ] CVE-2021-38173
      https://nvd.nist.gov/vuln/detail/CVE-2021-38173

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202402-32

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2024 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpqTA6ABLMxh/aChGFMQkOaVy+9kFAmXcifQACgkQFMQkOaVy
+9mxMw//Q5WLX/6Vu0myOckAwNGewPEvGnmHsCnH3z5TEqMhhqy9tDPpfpdNJlgb
vreV93P0mg79cQe9krnUE0VY/pNBheBwQQmA4c6GQ4vVikhoz9WY9nboNcqoOxQ5
7KXnnligLRSNNC37DCZqM4TFkOd/q5RF1f8kJE1h55xB7gBCPiX9gyVn2nmhDfYk
OuGmxOlgmyNUI1nllhT+9dAalZACjU/XZ2L/mm4RiCXCCSW2puxTJiSpth6Aj6Qb
43xegzGmGZNeOMI+DQWeYBvlUBVAQqfXyJuXmQJhhFCSlFDfGLpZLJO0b0dwx8/w
Togwbbci96qned+NXLASCg7mwO7BQPhG6u9jX63S76rYioG6dy+rZ9j4sYDU1aWm
1cC1/U4PhrPUBvuS0Vapadj5Qqx2XTS3dGUM6Iqv0UTbdsEDVKq21TSkmhxPBwTV
phKzztyoDLan6vqRzYq6yH6cwcJW2Xx+/E973JK0ZduHen446sXtMQGxX1qC198L
BiuPd7G61E3CUNkIUZ1iAAGvry/HoG/uwl4zMiBWmmNZvRR32zBlJjWi2mq7b617
JRt79juLtA0avOMsRbrC+2joSlpbz34RwA1ZGaG6hZQ3vnSrf971C/TPOBuTPXKU
1Fa7B1EEuz7Hn3Vp2kAwkkTt4zrUz8w2y23rj05xAS7l+rCCdPs=
=d98/
-----END PGP SIGNATURE-----