{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-4293",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntrdev",
        "dateUpdated": "2024-08-03T01:34:50.155Z",
        "dateReserved": "2022-12-05T00:00:00",
        "datePublished": "2022-12-05T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Floating Point Comparison with Incorrect Operator in vim/vim",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntrdev",
                "dateUpdated": "2023-05-03T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Floating Point Comparison with Incorrect Operator in GitHub repository vim/vim prior to 9.0.0804."
                }
            ],
            "affected": [
                {
                    "vendor": "vim",
                    "product": "vim/vim",
                    "versions": [
                        {
                            "version": "unspecified",
                            "lessThan": "9.0.0804",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143"
                },
                {
                    "url": "https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230203-0007/"
                },
                {
                    "name": "GLSA-202305-16",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202305-16"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.8,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-1077 Floating Point Comparison with Incorrect Operator",
                            "cweId": "CWE-1077"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "385a835f-6e33-4d00-acce-ac99f3939143",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T01:34:50.155Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://huntr.dev/bounties/385a835f-6e33-4d00-acce-ac99f3939143",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230203-0007/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202305-16",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202305-16"
                    }
                ]
            }
        ]
    }
}