{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-32691",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-05-11T16:33:45.732Z",
        "datePublished": "2023-05-30T03:06:06.080Z",
        "dateUpdated": "2024-08-02T15:25:37.019Z"
    },
    "containers": {
        "cna": {
            "title": "ginuerzh/gost vulnerable to Timing Attack",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-203",
                            "lang": "en",
                            "description": "CWE-203: Observable Discrepancy",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.9,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww"
                },
                {
                    "name": "https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46"
                }
            ],
            "affected": [
                {
                    "vendor": "ginuerzh",
                    "product": "gost",
                    "versions": [
                        {
                            "version": "<= 2.11.5",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-05-30T03:06:06.080Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "gost (GO Simple Tunnel) is a simple tunnel written in golang. Sensitive secrets such as passwords, token and API keys should be compared only using a constant-time comparison function. Untrusted input, sourced from a HTTP header, is compared directly with a secret. Since this comparison is not secure, an attacker can mount a side-channel timing attack to guess the password. As a workaround, this can be easily fixed using a constant time comparing function such as `crypto/subtle`'s `ConstantTimeCompare`. \n"
                }
            ],
            "source": {
                "advisory": "GHSA-qjrq-hm79-49ww",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T15:25:37.019Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ginuerzh/gost/security/advisories/GHSA-qjrq-hm79-49ww"
                    },
                    {
                        "name": "https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/ginuerzh/gost/blob/1c62376e0880e4094bd3731e06bd4f7842638f6a/auth.go#L46"
                    }
                ]
            }
        ]
    }
}