« Volver al listado

CVE-2022-43781

Estado: ModificadaCrítica (9.8)—

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2022-43781",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2022-43781",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2024-10-02T14:27:57.305026Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 9.8,
          "attackVector": "NETWORK",
          "baseSeverity": "CRITICAL",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 3.9
      },
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 9.8,
          "attackVector": "NETWORK",
          "baseSeverity": "CRITICAL",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "HIGH",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.9,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "security@atlassian.com",
      "affectedData": [
        {
          "vendor": "Atlassian",
          "product": "Bitbucket Data Center",
          "versions": [
            {
              "status": "unaffected",
              "version": "before 7.0"
            },
            {
              "status": "affected",
              "version": "before 7.17.12"
            },
            {
              "status": "affected",
              "version": "before 7.21.6"
            },
            {
              "status": "affected",
              "version": "before 7.6.19"
            },
            {
              "status": "affected",
              "version": "before 8.0.5"
            },
            {
              "status": "affected",
              "version": "before 8.1.5"
            },
            {
              "status": "affected",
              "version": "before 8.2.4"
            },
            {
              "status": "affected",
              "version": "before 8.3.3"
            },
            {
              "status": "affected",
              "version": "before 8.4.2"
            },
            {
              "status": "affected",
              "version": "before 8.5.0"
            }
          ]
        },
        {
          "vendor": "Atlassian",
          "product": "Bitbucket Server",
          "versions": [
            {
              "status": "unaffected",
              "version": "before 7.0"
            },
            {
              "status": "affected",
              "version": "before 7.17.12"
            },
            {
              "status": "affected",
              "version": "before 7.21.6"
            },
            {
              "status": "affected",
              "version": "before 7.6.19"
            },
            {
              "status": "affected",
              "version": "before 8.0.5"
            },
            {
              "status": "affected",
              "version": "before 8.1.5"
            },
            {
              "status": "affected",
              "version": "before 8.2.4"
            },
            {
              "status": "affected",
              "version": "before 8.3.3"
            },
            {
              "status": "affected",
              "version": "before 8.4.2"
            },
            {
              "status": "affected",
              "version": "before 8.5.0"
            }
          ]
        }
      ]
    },
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "affectedData": [
        {
          "cpes": [
            "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*"
          ],
          "vendor": "atlassian",
          "product": "bitbucket",
          "versions": [
            {
              "status": "affected",
              "version": "7.0.0",
              "lessThan": "7.6.19",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "7.7.0",
              "lessThan": "7.17.12",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "7.18.0",
              "lessThan": "7.21.6",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "7.22.0",
              "lessThan": "8.0.5",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "8.1.0",
              "lessThan": "8.1.5",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "8.2.0",
              "lessThan": "8.2.4",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "8.3.0",
              "lessThan": "8.3.3",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "8.4.0",
              "lessThan": "8.4.2",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unknown"
        }
      ]
    }
  ],
  "published": "2022-11-17T00:15:18.483",
  "references": [
    {
      "url": "https://confluence.atlassian.com/x/Y4hXRg",
      "tags": [
        "Mitigation",
        "Release Notes",
        "Vendor Advisory"
      ],
      "source": "security@atlassian.com"
    },
    {
      "url": "https://jira.atlassian.com/browse/BSERV-13522",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "security@atlassian.com"
    },
    {
      "url": "https://confluence.atlassian.com/x/Y4hXRg",
      "tags": [
        "Mitigation",
        "Release Notes",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://jira.atlassian.com/browse/BSERV-13522",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-77"
        }
      ]
    },
    {
      "type": "Secondary",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "description": [
        {
          "lang": "en",
          "value": "CWE-77"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”."
    },
    {
      "lang": "es",
      "value": "Existe una vulnerabilidad de inyección de comandos mediante variables de entorno en Bitbucket Server y Data Center. Un atacante con permiso para controlar su nombre de usuario puede aprovechar este problema para ejecutar código arbitrario en el sistema. Esta vulnerabilidad puede no autenticarse si la instancia de Bitbucket Server y Data Center ha habilitado \"Allow public signup\"."
    }
  ],
  "lastModified": "2026-06-17T05:07:20.380",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "724D75B1-262B-4834-BDF9-359992FE358F",
              "versionEndExcluding": "7.6.19",
              "versionStartIncluding": "7.0.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "7DDB30B8-27BB-4754-A801-CC6D7FBD112D",
              "versionEndExcluding": "7.17.12",
              "versionStartIncluding": "7.7.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "C46D83C6-2375-4187-9A5F-1AD81A6520DA",
              "versionEndExcluding": "7.21.6",
              "versionStartIncluding": "7.18.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "18D68073-ED08-433F-9EB3-6BE4D58B08E6",
              "versionEndExcluding": "8.0.5",
              "versionStartIncluding": "7.22.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "7C1B0213-8CA7-4179-90D3-FCFE8BBE33BA",
              "versionEndExcluding": "8.1.5",
              "versionStartIncluding": "8.1.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "0D270F32-1BB2-46F8-8737-4CB39508EDD4",
              "versionEndExcluding": "8.2.4",
              "versionStartIncluding": "8.2.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "CF6224A3-4AD8-4DA7-8E68-A890B3915337",
              "versionEndExcluding": "8.3.3",
              "versionStartIncluding": "8.3.0"
            },
            {
              "criteria": "cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "224634CB-9CA5-4292-B3F8-B3A86E4ADD70",
              "versionEndExcluding": "8.4.2",
              "versionStartIncluding": "8.4.0"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "security@atlassian.com"
}