GLSA 202405-13: borgmatic: Shell Injection

Severity:high
Title:borgmatic: Shell Injection
Date:05/05/2024
Bugs: #924892
ID:202405-13

Synopsis

A vulnerability has been discovered in borgmatic, which can lead to shell injection.

Background

borgmatic is simple, configuration-driven backup software for servers and workstations.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-backup/borgmatic < 1.8.8 >= 1.8.8 All supported architectures

Description

Prevent shell injection attacks within the PostgreSQL hook, the MongoDB hook, the SQLite hook, the "borgmatic borg" action, and command hook variable/constant interpolation.

Impact

Shell injection may be used in several borgmatic backends to execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All borgmatic users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=app-backup/borgmatic-1.8.8"
        

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202405-13.xml

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 security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!