CVE-2020-4042: Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without kn
CVE-2020-4042 is a medium-severity flaw (CVSS 6.8) affecting bareos. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious client can replay the Bareos director's cram-md5 challenge to the director itself leading to the director responding to the replayed challenge. The response obtained is then a valid reply to the directors origin
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.8 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.0% (top 38%) |
| CISA exploited list | No |
| Weakness | CWE-294 |
| Published | 2020-07-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-4042?
bareos: upgrade to newer than 19.2.7. Exact commands for each OS are on this page.
Is CVE-2020-4042 being exploited?
CVE-2020-4042 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-4042 affect?
CVE-2020-4042 affects bareos. Severity is medium (CVSS 6.8). Bareos before version 19.2.8 and earlier allows a malicious client to communicate with the director without knowledge of the shared secret if the director allows client initiated connection and connects to the client itself. The malicious c
How urgent is CVE-2020-4042?
Priority 44/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-24756 HIGH 7.5 UPGRADE Bareos is open source software for backup, archiving, and recovery of data for operating systems
- CVE-2022-24755 HIGH 8.1 UPGRADE Bareos is open source software for backup, archiving, and recovery of data for operating systems
- CVE-2020-11061 MEDIUM 6.0 UPGRADE MITIGATE In Bareos Director less than or equal to 16.2.10, 17.2.9, 18.2.8, and 19.2.7, a heap overflow allows a malicio