{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-5685",
        "ASSIGNER": "oss-report@checkmarx.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Users with \"User:edit\" and \"Self:api\" permissions\u00a0can promote or demote themselves or other users by performing changes to the group's memberships via API call.This issue affects snipe-it: from v4.6.17 through v6.4.1."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-862 Missing Authorization",
                        "cweId": "CWE-862"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "snipe",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "snipe-it",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<=",
                                            "version_name": "v4.6.17",
                                            "version_value": "v6.4.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/snipe/snipe-it/pull/14745",
                "refsource": "MISC",
                "name": "https://github.com/snipe/snipe-it/pull/14745"
            },
            {
                "url": "https://github.com/snipe/snipe-it/commit/34f1ea1c0ecd403047cd1327569ee391a7201cc1",
                "refsource": "MISC",
                "name": "https://github.com/snipe/snipe-it/commit/34f1ea1c0ecd403047cd1327569ee391a7201cc1"
            },
            {
                "url": "https://github.com/snipe/snipe-it/releases/tag/v6.4.2",
                "refsource": "MISC",
                "name": "https://github.com/snipe/snipe-it/releases/tag/v6.4.2"
            },
            {
                "url": "https://devhub.checkmarx.com/cve-details/CVE-2024-5685/",
                "refsource": "MISC",
                "name": "https://devhub.checkmarx.com/cve-details/CVE-2024-5685/"
            },
            {
                "url": "https://advisory.checkmarx.net/?search=CVE-2024-5685",
                "refsource": "MISC",
                "name": "https://advisory.checkmarx.net/?search=CVE-2024-5685"
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.2.0"
    },
    "source": {
        "discovery": "UNKNOWN"
    },
    "solution": [
        {
            "lang": "en",
            "supportingMedia": [
                {
                    "base64": false,
                    "type": "text/html",
                    "value": "<span style=\"background-color: rgb(255, 255, 255);\">Update to version v6.4.2 to mitigate the issue.</span>\n\n<br>"
                }
            ],
            "value": "Update to version v6.4.2 to mitigate the issue."
        }
    ],
    "credits": [
        {
            "lang": "en",
            "value": "Davide Ferreira, Checkmarx Research Group"
        }
    ],
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "LOW",
                "baseScore": 7.6,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:L",
                "version": "3.1"
            }
        ]
    }
}