Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43287

An issue was discovered in ThoughtWorks GoCD before 21.3.0. The business continuity add-on, which is enabled by default, leaks all secrets known to the GoCD server to unauthenticated attackers.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-43287
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:38 UTC · Revision 1

Source evidence

CVE-2021-43287

core-osv · Original source

Published 14 Apr 2022, 12:15 UTC

An issue was discovered in ThoughtWorks GoCD before 21.3.0. The business continuity add-on, which is enabled by default, leaks all secrets known to the GoCD server to unauthenticated attackers.

osv:CVE-2021-43287
Complete source record
{
  "id": "5f2cad81128069ac82c4cb9d57dc2f55d850191ac32a345a05e2209e452fd5a7",
  "url": "https://osv.dev/vulnerability/CVE-2021-43287",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43287",
    "summary": "An issue was discovered in ThoughtWorks GoCD before 21.3.0. The business continuity add-on, which is enabled by default, leaks all secrets known to the GoCD server to unauthenticated attackers.",
    "evidence": "osv:CVE-2021-43287",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43287",
      "aliases": [
        "CVE-2021-43287"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gocd/gocd",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4c4bb4780eb0d3fc4cacfc4cfcc0b07e2eaf0595"
                },
                {
                  "fixed": "41abc210ac4e8cfa184483c9ff1c0cc04fb3511c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:thoughtworks:gocd:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "21.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "41abc210ac4e8cfa184483c9ff1c0cc04fb3511c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "21.2.0",
            "21.1.0",
            "20.10.0",
            "20.9.0",
            "20.8.0",
            "20.7.0",
            "20.6.0",
            "20.5.0",
            "20.4.0",
            "20.3.0",
            "20.2.0",
            "20.1.0",
            "19.12.0",
            "19.11.0",
            "19.10.0",
            "19.9.0",
            "19.8.0",
            "19.7.0",
            "19.6.0",
            "19.5.0",
            "19.4.0",
            "19.3.0",
            "19.2.0",
            "19.1.0",
            "18.12.0",
            "18.11.0",
            "18.10.0",
            "18.9.0",
            "18.8.0",
            "18.7.0",
            "18.6.0",
            "18.5.0",
            "18.4.0",
            "18.3.0",
            "18.2.0",
            "18.1.0",
            "17.12.0",
            "17.11.0",
            "17.10.0",
            "17.9.0",
            "17.8.0",
            "17.7.0",
            "17.6.0",
            "17.5.0",
            "17.4.0",
            "17.3.0",
            "17.2.0",
            "17.1.0",
            "16.12.0",
            "16.11.0",
            "16.10.0",
            "16.9.0",
            "16.8.0",
            "16.7.0",
            "16.6.0",
            "16.5.0",
            "16.4.0",
            "16.3.0",
            "16.2.0",
            "16.1.0",
            "15.3.0",
            "15.2.0",
            "15.1.0",
            "14.4.0",
            "14.3.0",
            "14.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43287.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-43287-50bcf4ba",
                "digest": {
                  "length": 935,
                  "function_hash": "169831231781064058981204781722622135125"
                },
                "source": "https://github.com/gocd/gocd/commit/4c4bb4780eb0d3fc4cacfc4cfcc0b07e2eaf0595",
                "target": {
                  "file": "server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java",
                  "function": "getArtifact"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43287-8cbaf716",
                "digest": {
                  "length": 805,
                  "function_hash": "46622639701462554494085306319090792137"
                },
                "source": "https://github.com/gocd/gocd/commit/4c4bb4780eb0d3fc4cacfc4cfcc0b07e2eaf0595",
                "target": {
                  "file": "server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java",
                  "function": "consoleout"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43287-bd2a1f11",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "162211121821750773473144286713610008554",
                    "69291429028746565225783084249821371262",
                    "281471459758238047650573224173810454845",
                    "223629736935696393218652085313454113683",
                    "300320787969519129163131813488521038145",
                    "184721705537119770187599095455167292773",
                    "256013375759424369261868025196750318300",
                    "53669328418647435659538602581457945324",
                    "203781855448791209955411873420413770768"
                  ]
                },
                "source": "https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c",
                "target": {
                  "file": "server/src/main/java/com/thoughtworks/go/addon/businesscontinuity/standby/controller/DashBoardController.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43287-c62c5dea",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "219744567178386472931426060691752182870",
                    "33826569787096491834605372258126750130",
                    "50716403453545536161590681343053786441",
                    "36699377348188772274659214622610304835",
                    "186402665283495640455695244972906634561",
                    "105738403421211834056096073550232370866",
                    "249186177297844560674030412416911095073"
                  ]
                },
                "source": "https://github.com/gocd/gocd/commit/4c4bb4780eb0d3fc4cacfc4cfcc0b07e2eaf0595",
                "target": {
                  "file": "server/src/main/java/com/thoughtworks/go/server/controller/ArtifactsController.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43287-d5074253",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "18064623769372598632024066551605813789",
                    "324731096186434849409755653426108024523",
                    "47045895498496245405711633620660227826",
                    "273911606524041354210993159174584419990"
                  ]
                },
                "source": "https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c",
                "target": {
                  "file": "server/src/main/java/com/thoughtworks/go/addon/businesscontinuity/primary/controller/PrimaryStatusProviderController.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:08:53Z"
          }
        }
      ],
      "modified": "2026-10-20T14:08:53.881518951Z",
      "provider": "osv",
      "references": [
        "https://www.gocd.org/releases/#21-3-0",
        "https://blog.sonarsource.com/gocd-pre-auth-pipeline-takeover",
        "https://github.com/gocd/gocd/commit/41abc210ac4e8cfa184483c9ff1c0cc04fb3511c"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-43287",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 388595,
  "published_at": "2022-04-14T12:15:07.717+00:00"
}