{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-36804",
        "assignerOrgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
        "assignerShortName": "atlassian",
        "dateUpdated": "2024-09-16T18:14:18.941Z",
        "dateReserved": "2022-07-26T00:00:00",
        "datePublished": "2022-08-25T05:40:08.899310Z"
    },
    "containers": {
        "cna": {
            "datePublic": "2022-08-24T00:00:00",
            "providerMetadata": {
                "orgId": "f08a6ab8-ed46-4c22-8884-d911ccfe3c66",
                "shortName": "atlassian",
                "dateUpdated": "2023-03-24T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew."
                }
            ],
            "affected": [
                {
                    "vendor": "Atlassian",
                    "product": "Bitbucket Server",
                    "versions": [
                        {
                            "version": "7.0.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.6.17",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "7.7.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.17.10",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "7.18.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.21.4",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.0.3",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.1.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.1.3",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.2.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.2.2",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.3.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.3.1",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                },
                {
                    "vendor": "Atlassian",
                    "product": "Bitbucket Data Center",
                    "versions": [
                        {
                            "version": "7.0.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.6.17",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "7.7.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.17.10",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "7.18.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "7.21.4",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.0.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.0.3",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.1.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.1.3",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.2.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.2.2",
                            "status": "affected",
                            "versionType": "custom"
                        },
                        {
                            "version": "8.3.0",
                            "status": "affected",
                            "lessThan": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "version": "unspecified",
                            "lessThan": "8.3.1",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://jira.atlassian.com/browse/BSERV-13438"
                },
                {
                    "url": "http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html"
                },
                {
                    "url": "http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "Remote Code Execution"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T10:14:28.471Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://jira.atlassian.com/browse/BSERV-13438",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}