CVE-2022-24756: Bareos - Memory Leak
- Cve: CVE-2022-24756
- Name: Bareos - Memory Leak
- 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.
- Impact: Attackers can cause an out-of-memory condition, leading to denial of service and Director unavailability.
- Remediation: Upgrade to Bareos Director 21.1.0, 20.0.6, or 19.2.12, or disable PAM authentication as a workaround.
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs access to PAM Console (shared secret or WebUI)
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.01927
- Epss percentile: 0.80505
- Assignee: [email protected]
- Published at: 2022-03-15T15:15:08Z
- Age in days: 1715
- Modified at: 2026-06-17T04:32:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 5
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24756
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ | nvd | 2022-03-15 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/bareos/bareos/pull/1115 | Patch, Third Party Advisory |
| https://github.com/bareos/bareos/pull/1119 | Patch, Third Party Advisory |
| https://github.com/bareos/bareos/pull/1121 | Patch, Third Party Advisory |
| https://huntr.dev/bounties/480121f2-bc3c-427e-986e-5acffb1606c5/ | Exploit, Patch, Third Party Advisory |
| https://github.com/bareos/bareos/security/advisories/GHSA-jh55-4wgw-xc9j | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| bareos:bareos | >= 21.0.0, < 21.1.0; >= 20.0.0, < 20.0.6; >= 18.2, < 19.2.12 | no | nvd | /v1/products/bareos/bareos |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| bareos/bareos | pull, security_advisory | yes | /v1/repositories/bareos/bareos |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-15
- Remote: yes
- Exposed hosts: 67
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports