Vulnerability · Published Mar 15, 2022 · Assigned by GitHub_M

CVE-2022-24756Missing Release of Memory after Effective Lifetime in Bareos Director

High 7.5

In plain English

A high-severity memory leak in bareos from bareos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.9%top 19.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Bareos is open source software for backup, archiving, and recovery of data for operating systems. When Bareos Director >= 18.2 but prior to 21.1.0, 20.0.6, and 19.2.12 is built and configured for PAM authentication, a failed PAM authentication will leak a small amount of memory. An attacker that is able to use the PAM Console (i.e. by knowing the shared secret or via the WebUI) can flood the Director with failing login attempts which will eventually lead to an out-of-memory condition in which the Director will not work anymore. Bareos Director versions 21.1.0, 20.0.6 and 19.2.12 contain a Bugfix for this problem. Users who are unable to upgrade may disable PAM authentication as a workaround.

Affected products (as reported)

VendorProductVersions
bareos bareos >= 18.2, < 19.2.12>= 20.0.0, < 20.0.6>= 21.0.0, < 21.1.0

Weakness: CWE-401 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References