Missing Release of Memory after Effective Lifetime in Bareos Director
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-401.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| bareos | bareos | 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 | 19.2.12, 20.0.6, 21.1.0 | Patch available | CNA |
- bareos Vendorbareos Affected 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 Fixed in 19.2.12, 20.0.6, 21.1.0 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:bareos:bareos:*:*:*:*:*:*:*:* | 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 | Vulnerable | bareos |
- cpe:2.3:a:bareos:bareos:*:*:*:*:*:*:*:* Versions 18.2 to before 19.2.12; 20.0.0 to before 20.0.6; 21.0.0 to before 21.1.0 Vulnerable ·bareos
Remediation
- Fix · CNA bareos (bareos) Fixed in 19.2.12, 20.0.6, 21.1.0
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24756
References
More Bareos vulnerabilities
- TI-2022-08569 Incorrect Authorization in Bareos Director CVSS 3.1CRITICAL 9.8
- TI-2020-08935 Heap-based Buffer Overflow in Bareos Director CVSS 3.1HIGH 7.4
- TI-2017-10707 bareos-dir, bareos-fd, and bareos-sd in bareos-core in Bareos 16.2.6 and earlier create a… CVSS 3.0HIGH 7.8
- TI-2020-03531 Authentication bypass in Bareos CVSS 3.1MEDIUM 6.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences