portage-ng / portage / app-backup / borgmatic / 2.1.9
portage-ng glsa
1 advisory reference app-backup/borgmatic · none place version 2.1.9 in a vulnerable range
▸ GLSA 202405-13 borgmatic: Shell Injection this version unaffected high remote 2024-05-05

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

Announced
2024-05-05
Revised
2024-05-05
Access
remote
Bugs
#924892
Advisory
https://security.gentoo.org/glsa/202405-13

Affected packages

PackageArchVulnerableUnaffected
app-backup/borgmatic*< 1.8.8>= 1.8.8

Background

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

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"