Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-4042

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 original challenge. This is fixed in version 19.2.8.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-4042
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:28 UTC · Revision 1

Source evidence

CVE-2020-4042

core-osv · Original source

Published 10 Jul 2020, 20:15 UTC

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 original challenge. This is fixed in version 19.2.8.

osv:CVE-2020-4042
Complete source record
{
  "id": "7cdbfcd00241c4b2cecebf8e4c5b8bc75c64b68d0792859def7e403927b2f24e",
  "url": "https://osv.dev/vulnerability/CVE-2020-4042",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-4042",
    "summary": "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 original challenge. This is fixed in version 19.2.8.",
    "evidence": "osv:CVE-2020-4042",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2020-4042",
      "aliases": [
        "CVE-2020-4042",
        "GHSA-vqpj-2vhj-h752"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/bareos/bareos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "9b2f49a34d5440f51ca5b25d39bda92311826e5e"
                },
                {
                  "introduced": "ebafea58d2aee55a0dbefbf3934a9efbb550b2db"
                },
                {
                  "last_affected": "ebafea58d2aee55a0dbefbf3934a9efbb550b2db"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:bareos:bareos:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "19.2.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:bareos:bareos:19.2.8:pre:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "19.2.8-pre"
                      },
                      {
                        "last_affected": "19.2.8-pre"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "19.2.8-pre",
            "WIP/19.2.8-pre",
            "WIP/19.2.7-pre",
            "Release/19.2.6",
            "WIP/19.2.6-pre",
            "Release/19.2.5",
            "WIP/19.2.5-pre",
            "Release/19.2.4",
            "Release/19.2.4-rc1",
            "WIP/19.2.4-pre",
            "Release/18.4.1",
            "Release/17.2.4-rc1",
            "Release/12.4.1",
            "Release/12.4.0",
            "Release/bacula-5.2.13"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-4042.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:21.796294523Z",
      "provider": "osv",
      "references": [
        "https://bugs.bareos.org/view.php?id=1250",
        "https://github.com/bareos/bareos/security/advisories/GHSA-vqpj-2vhj-h752"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-4042",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385183,
  "published_at": "2020-07-10T20:15:11.25+00:00"
}