CVE-2022-24756 json
Missing Release of Memory after Effective Lifetime in Bareos Director
published 2022-03-15 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29589
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 80%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bareos bareos 19.2.12, 20.0.6, 21.1.0
- github.com/bareos/bareos#1115 pull request
- github.com/bareos/bareos#1119 pull request
- github.com/bareos/bareos#1121 pull request
- huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ advisory
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
1.93% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- huntr.dev https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected products
- bareos bareos
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/bareos/bareos/pull/1115
patch, third-party-advisory
-
github.com
/bareos/bareos/pull/1119
patch, third-party-advisory
-
github.com
/bareos/bareos/pull/1121
patch, third-party-advisory
-
huntr.dev
/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/
exploit, patch, third-party-advisory
-
github.com
/bareos/bareos/security/advisories/GHSA-jh55-4wgw-xc9j
third-party-advisory
Sources
- CVE List CVE-2022-24756
- NVD CVE-2022-24756
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.