CVE-2022-24756

NameCVE-2022-24756
DescriptionBareos 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bareos (PTS)jessie14.2.1+20141017gitc6c5b56-3+deb8u3vulnerable
stretch16.2.4-3+deb9u2fixed
buster16.2.6-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
bareossourcejessie(unfixed)end-of-life
bareossourcestretch(not affected)
bareossourcebuster(not affected)
bareossource(unstable)(unfixed)

Notes

[buster] - bareos <not-affected> (PAM support not yet present)
[stretch] - bareos <not-affected> (PAM support not yet present)
https://github.com/bareos/bareos/security/advisories/GHSA-jh55-4wgw-xc9j
https://github.com/bareos/bareos/pull/1115
https://github.com/bareos/bareos/pull/1119
https://github.com/bareos/bareos/pull/1121
https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/

Search for package or bug name: Reporting problems